Тёмный

This New React Feature Will Make Your App 20% Faster 

Web Dev Simplified
Подписаться 1,6 млн
Просмотров 44 тыс.
50% 1

React Simplified Course: reactsimplified.com
React has a lot of things you need to keep in mind when it comes to performance and optimization, but with the new React compiler all of this will be handled for you. This is one of the biggest changes coming to React and something I am super excited for. In this video I will show you how to get started with the compiler and what it can all do.
📚 Materials/References:
React Simplified Course: reactsimplified.com
All React 19 Changes Video: • NEW React 19 Changes A...
🌎 Find Me Here:
My Blog: blog.webdevsimplified.com
My Courses: courses.webdevsimplified.com
Patreon: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
00:32 - Basic Setup
02:20 - Vite Extra Steps
03:27 - Next.js Extra Steps
03:51 - Compiler Benefits
08:30 - When The Compiler Won’t Work
#React19 #WDS #ReactCompiler

Опубликовано:

 

27 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 104   
@ericepp1496
@ericepp1496 Месяц назад
I love this guy but I can’t unsee him shaking his head while talking. It‘s robbing me of my focus 😂
@rooibaard832
@rooibaard832 29 дней назад
Why did you have to say that? now I keep seeing it as well
@kkebo
@kkebo 27 дней назад
Shit can't unsee that now 😂
@witchmorrow
@witchmorrow День назад
oh damn you're so right it's constant, I never noticed before
@saqibkhanz8417
@saqibkhanz8417 Месяц назад
Could you please create videos based on large-scale projects?
@saru-mado
@saru-mado Месяц назад
Great to see u again! Kyle
@fabianramirez3222
@fabianramirez3222 Месяц назад
Thabks for sharing this info. It's always good to know React keeps evolving.
@JawaCodePro
@JawaCodePro Месяц назад
Thank you for information
@mohamadrezakazemian5220
@mohamadrezakazemian5220 18 дней назад
great video! thanks for sharing
@rp77797
@rp77797 26 дней назад
Great video! How do you find out which components can't be compiled. The health check only tells the number of components compiled. Is there a way to see more details on which components didn't compile and the reason?
@kevinespina3289
@kevinespina3289 Месяц назад
More titled Tuesday please! So you stream somewhere? On twitch maybe?
@huycaoviet8367
@huycaoviet8367 Месяц назад
Useful 🎉
@snake1625b
@snake1625b Месяц назад
if it memoizes everything by default then does it use extra memory as well?
@bobwilkinsonguitar6142
@bobwilkinsonguitar6142 19 дней назад
Already updated my projects. Pretty smooth transition, but the eslint isn't working in Vite, so I've got 8/9 and 32/34 components memoized, but can tell which ones are problematic. Using MUI, my component tree is a mess😭
@gothicwave7761
@gothicwave7761 28 дней назад
bro really had to spend 1/3 of the video editing the config files just to write hello world 💀💀💀 react sure looks tempting I wanna learn this aha 😭
@user-fc8xh7uo4c
@user-fc8xh7uo4c 27 дней назад
Hi, thanks for your awesome videos, is there a way to reach out to you for questions?
@premsagar4438
@premsagar4438 27 дней назад
What kind of keyboard you use Kyle?
@luiz.henrique9
@luiz.henrique9 Месяц назад
If I am using the Context API, will this memo only trigger a re-render in the components that use the specific property that was updated?
@arek9430
@arek9430 20 дней назад
I was once doing some serious debuing in my react-native app that used ContextApi and here is what I observed: -EACH component that uses 'useContext(myContext)` and even uses property that didn't change in the context will always rerender when any property of useContext changes -without using `useCallback` and `useMemo` on properties and functions served by the context, WHOLE context rerenders (and then all subsequent components that uses this context) on each local component state change (not from context). -so using `useCallback` and `useMemo` on arrays objects and funtions inside ContextApi dramatically lowers number of unnecessary rerenders but still on any property change inside context, all components using this context will rerender - redux fixes this issue. So ContextApi with memoizations is quite good, but definitely not ideal - or I am wrong.
@user-ko1cw6mv4q
@user-ko1cw6mv4q Месяц назад
❤️❤️🥺 awesome
@SeanCassiere
@SeanCassiere 29 дней назад
PSA: For anyone looking to get the eslint warning and errors, make sure you are using v8 without the flat-config. The react eslint plugins are not compatible with the flat config and v9.
@amitjoshi956
@amitjoshi956 27 дней назад
Hey Kyle! I have been trying to solve this problem from long and hence seeking your help How do hide/remove the title and more videos sections from the RU-vid embedded player in my app? tried the 's contentDocument and querying for its children but that didn't help.
@first275
@first275 Месяц назад
I love React and I'm really exited for these new features to become stable
@SteveosCPU
@SteveosCPU Месяц назад
what do you love about React? I don't use it.
@first275
@first275 Месяц назад
@@SteveosCPU try others frameworks, you'll realize React has the lowest learning curve
@first275
@first275 Месяц назад
@@SteveosCPU try others frameworks, you'll realize React has the lowest learning curve
@fabianramirez3222
@fabianramirez3222 Месяц назад
​@@SteveosCPUmost of the time you don't have a choice due to IT guidelines, 1st or 3rd party dependencies, or simply. getting to work in ongoing projects made in React, so no.
@BeCurieUs
@BeCurieUs Месяц назад
We still can't even upgrade to 18 cause we have to upgrade all our unit tests from enzyme to RTL....that face when 100% unit test coverage causes migration issues
@fabianramirez3222
@fabianramirez3222 Месяц назад
That moment when you realize unit testing helps you catching bugs earlier, but takes extra time to maintain and introduce a new way of coupling.
@AjayGopalShresthaAGS
@AjayGopalShresthaAGS Месяц назад
I loved the class-based components. they complicated the frontend development with the introduction of functional components with hooks. The thing use memo does to a react app. should have happened by default.
@programmerjowo
@programmerjowo Месяц назад
Yeah class based component is more clean and just like desktop gui programming. And hook is crap
@thecoolnewsguy
@thecoolnewsguy Месяц назад
Wow. I thought I was mad when I thought they were cleaner. Glad I'm not the only one on the boat. I've always hated how dirty the code looks on function components. It's a mess. I'm having hard time trying to read this mess. On the other hand, classes were so cleaner and easier to read.
@programmerjowo
@programmerjowo Месяц назад
@@thecoolnewsguy yeah hooks especially useEffect is the source of bugs
@karethokyakare651
@karethokyakare651 22 дня назад
Did anyone try React compiler for Existing Projects?plz share exact steps for migration
@skillsnwokoloanthony7557
@skillsnwokoloanthony7557 5 дней назад
I am not ready for react 19 😅
@sadabdhrubo
@sadabdhrubo Месяц назад
we would love to have a crush course on nest js from you. ❤❤
@abdoolkareem_
@abdoolkareem_ Месяц назад
Faster or faster compile time?
@davidmartensson273
@davidmartensson273 27 дней назад
Faster runtime. This is actually something that many functional languages already have been doing for 30 years which makes it fast.
@arek9430
@arek9430 20 дней назад
So basically it implements `React.memo`, `useMemo` and `useCallback` be default to any mutable elements making it not rerender brainlessly - shouldn't it be default React behaviour?
@s7yr0
@s7yr0 17 дней назад
We should have this in like 2014
@rajfekar1514
@rajfekar1514 26 дней назад
please teach new nextjs 15 features and websocket connection with example
@avijitchanda7944
@avijitchanda7944 Месяц назад
How use effect not cause any issues, if you guys see there is no dependency array so it will under do infinite loop right?
@hathspider9763
@hathspider9763 29 дней назад
This iust seems like too much work to upgrade. Im keeping with 18.
@gigsnicky
@gigsnicky 28 дней назад
Shake it, but shake less
@habiks
@habiks Месяц назад
just scrap react for something that is fast out of box
@jasonjasonjasonjasonjason
@jasonjasonjasonjasonjason 13 дней назад
bruh moment
@deimne970
@deimne970 Месяц назад
React trying to be Svelte 🤣
@davidmartensson273
@davidmartensson273 27 дней назад
No, its react implementing common functional features that has been around for decades.
@Euquila
@Euquila Месяц назад
{ name }: { name: string } This is the part of Typescript I don't like. In the context of dynamic language we should take some liberties, especially in frontend code where the depth is complexity is usually not that great.
@harsh_g2543
@harsh_g2543 Месяц назад
skill issue💀
@thepetesmith
@thepetesmith 28 дней назад
Can we make a federal ban on just adding “honestly” for no reason please.
@romek4794
@romek4794 Месяц назад
You won't imagine how fast your app will be when you stop using react at all! Start learning vanilla JS again!
@kaustubhpaturi4801
@kaustubhpaturi4801 Месяц назад
Yea... Sometimes I do feel that... 😂
@samking618
@samking618 Месяц назад
and reinvent the wheel!
@programmerjowo
@programmerjowo Месяц назад
jQuery write less do more
@kkebo
@kkebo Месяц назад
This comment is so stupid, no sane person would choose vanilla js to build a large scale app. Atleast use Lit
@fabianramirez3222
@fabianramirez3222 Месяц назад
Fun fact: Stream browser webapp uses jQuery. Like a lot.
@giftjacksun4799
@giftjacksun4799 Месяц назад
Third to view This is great. Thanks🤭
@thecoolnewsguy
@thecoolnewsguy 20 дней назад
Too bad the compiler is still in beta
@elitegaming8565
@elitegaming8565 Месяц назад
Lol First to see
@Yourdeepanshuverma
@Yourdeepanshuverma Месяц назад
From last.
@uttamsharma3242
@uttamsharma3242 Месяц назад
13th comment...
@basilsatti2828
@basilsatti2828 Месяц назад
first after firsts lol
@MetroExodus999
@MetroExodus999 Месяц назад
Also hooks(use, useoptimistics,use actions......) please
@arunkaiser
@arunkaiser Месяц назад
First comment
@SithLordBishop
@SithLordBishop Месяц назад
stop using react :P Hopefully this helps I quit react after using react hooks for a while. they are so convoluted, cumbersome, and messy
@ThotsAndPrayers
@ThotsAndPrayers Месяц назад
U were prob using them wrong
@ilovekungfu1533
@ilovekungfu1533 Месяц назад
Skill issue lol
@ba8e
@ba8e Месяц назад
React is PURE GARBAGE. Long live Svelte.
@UsernameUsername0000
@UsernameUsername0000 Месяц назад
@@ba8e ok cultist
@ba8e
@ba8e Месяц назад
@@UsernameUsername0000 I'd say React people are cultists because they can't leave that piece of shit framework.
@ukaszjonasiak382
@ukaszjonasiak382 25 дней назад
I swear React is the laziest, most brainless implemented framework ever.
@swojnowski453
@swojnowski453 Месяц назад
Do not tell people what to do, you do not know what their circumstances and goals are!
@dirknash4113
@dirknash4113 Месяц назад
dont come to see his videos then
@ThotsAndPrayers
@ThotsAndPrayers Месяц назад
He didn’t tell anyone what to do, he’s just showcasing a new feature. Tf are u on about?
@fabianramirez3222
@fabianramirez3222 Месяц назад
I introduce you to a new concept: ignore them.
@blossomcherrypink
@blossomcherrypink 28 дней назад
But you are telling him what to do
@CriminalClinton
@CriminalClinton 27 дней назад
Or you can stop coding in React and use an Adult framework 😂
@suball
@suball 29 дней назад
Thats no working on socket io connection
Далее
Why Signals Are Better Than React Hooks
16:30
Просмотров 457 тыс.
Speed Up Your React Apps With Code Splitting
16:50
Просмотров 370 тыс.
Cool Tools I’ve Been Using Lately
23:11
Просмотров 184 тыс.
The Most Important Skill You Never Learned
34:56
Просмотров 164 тыс.
Don't Model the Problem
14:32
Просмотров 8 тыс.
Every React 19 Feature Explained in 8 Minutes
7:35
Просмотров 112 тыс.
SWE Stop Learning - The Rise Of Expert Beginners
49:09
Просмотров 240 тыс.
Top 6 React Hook Mistakes Beginners Make
21:18
Просмотров 561 тыс.
Learn TypeScript Generics In 13 Minutes
12:52
Просмотров 227 тыс.
10 Tailwind Classes I Wish I Knew Earlier
13:31
Просмотров 166 тыс.
Enums considered harmful
9:23
Просмотров 195 тыс.