NEW React 19 Changes Are Amazing!

  Рет қаралды 159,003

Web Dev Simplified

Web Dev Simplified

Күн бұрын

FREE React Hooks Simplified Course: courses.webdevsimplified.com/...
It has been quite awhile since React 18 and there have been a ton of experimental features added to React since then. Luckily, React is finally getting ready to release these features as stable with version 19 coming sometime this year. In this video I will share with you everything you need to know about the 7 best features coming to React 19.
📚 Materials/References:
FREE React Hooks Simplified Course: courses.webdevsimplified.com/...
🌎 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 - #1 - Compiler
02:01 - #2 - Actions
04:28 - #3 - "use server" & "use client"
05:14 - #4 - SEO
05:55 - #4.5 - Suspense Head Loading
06:43 - #5 - Web Component Support
07:19 - #6 - ref Prop
07:40 - #7 - use Hook
#React19 #WDS #ReactJS

Пікірлер: 218
@babatundetaiwo5184
@babatundetaiwo5184 2 ай бұрын
Frontend is the most unstable stack ngl
@Sai648
@Sai648 2 ай бұрын
As a Frontend Developer, I agree with you. But, to be honest, it is a lot of fun to see the code you write in your editor work like magic on the browser. It is very satisfying! :D
@babatundetaiwo5184
@babatundetaiwo5184 2 ай бұрын
@@Sai648 Very wonderful, I focus more on the backend this days. But comparing it to my previous experience where I use to work with embedded system I prefer it. With embedded systems you can test your code efficiently till you compile it.
@cosminmocanu5254
@cosminmocanu5254 2 ай бұрын
i wanna switch to backend or smth cuz i just cant cope anymore. 50 new frameworks every day, changes to existing ones everyday. I'll just go crazy someday if I keep this up 😅
@babatundetaiwo5184
@babatundetaiwo5184 2 ай бұрын
@@cosminmocanu5254 just the other day I did something with Nexjs 13 next day 14 is out. Frontend is just so unstable
@Hipstergramm
@Hipstergramm 2 ай бұрын
@@cosminmocanu5254 just stay on a react 14 framework and you wont need to upgrade anymore
@cliftonbeale2945
@cliftonbeale2945 Ай бұрын
Liked & Subscribed for the video alone. The free course is insane, you are the goat.
@aliplaysgtr
@aliplaysgtr 2 ай бұрын
Thanks for the summary dude!
@tigranpetrosyan144
@tigranpetrosyan144 2 ай бұрын
As always, top content! Thanks
@Happyendrew
@Happyendrew 2 ай бұрын
seven words in support of this channel!)
@user-rm1dp1hk7u
@user-rm1dp1hk7u Ай бұрын
Happy Birthday! Your dedication to sharing knowledge is inspiring, and I wish you a year filled with continued success and fulfillment in your endeavors. 🥳🎈🎁
@aliuabdulmanaf353
@aliuabdulmanaf353 2 ай бұрын
Thanks for the update
@sairagulamali9018
@sairagulamali9018 Ай бұрын
thanks for the excellent content!
@aaronely759
@aaronely759 Ай бұрын
You are awesome, thank you for the content.
@YouDJeuR
@YouDJeuR Ай бұрын
Wow thanks for the update
@rustee_nyfe
@rustee_nyfe Ай бұрын
That's really something important. Thank you
@mauriciomueller86
@mauriciomueller86 2 ай бұрын
Great content, I really love all ur videos man! Do you know when React 19 will reach a stable release, suitable for us to update our existing projects?
@omkareswararao9779
@omkareswararao9779 2 ай бұрын
Great explanation Always... Thanks 🙏 Bro
@TubelatorAI
@TubelatorAI Ай бұрын
0:00 1. Introduction 🌟 Overview of React version 19 changes and importance. 0:29 2. React Compiler 🛠 Introduction of a compiler in React version 19 for automatic memoization. 2:02 3. Actions & Directives ⚙ Exploring actions, use client, and use server directives in React 19. 3:40 4. Use Optimistic Hook 🔄 Understanding the use Optimistic hook for Optimistic updates. 4:09 5. Real-Time Like Feature Immediate display of likes before server submission. 4:28 6. Client vs. Server Directives Differentiating code execution in Next.js. 5:15 7. Document Metadata Handling Dynamic insertion of metadata in React components. 5:55 8. Enhanced Suspense Functionality Improved loading control for styles and scripts. 6:49 9. Web Components Compatibility Better integration with React 19 for web components. 7:22 10. Refinement in React Hooks Elimination of forward ref usage with new implementations. 7:41 11. Introduction of 'use' Hook Advanced asynchronous capabilities for loading and running tasks. 8:27 12. Conclusion & Updates Wrap-up of React 19 changes and course recommendations. Generated with Tubelator AI Chrome Extension!
@by6973
@by6973 Ай бұрын
thank you
@liridongashi2616
@liridongashi2616 Ай бұрын
Thank you❤
@yassinebenazouz4529
@yassinebenazouz4529 2 ай бұрын
the new use hook is 🔥🔥
@simo_64
@simo_64 2 ай бұрын
Thanks bro
@andremazetto
@andremazetto 2 ай бұрын
Thanks!
@WebDevSimplified
@WebDevSimplified 2 ай бұрын
You're welcome!
@jasonzamora3618
@jasonzamora3618 2 ай бұрын
GOT DAMN IT! Just as I learn something, they drop something else. My prediction: As developers, we're gonna have to get that neurolink gear to keep updated with the continuous flow of features, upgrades, and new-ness that never ceases or slow.
@rishiraj2548
@rishiraj2548 2 ай бұрын
Yes😢😭
@milanfanas
@milanfanas 2 ай бұрын
Soon AI will create the ultimate programming language. It will be the same for frontend, backend, games, appliances... and we will miss the times when we had to learn everything from scratch every 6 months
@emgodas
@emgodas 2 ай бұрын
Fr just started to get into react next day boom react 19
@IlyesCodes
@IlyesCodes 2 ай бұрын
Welcome to web development realm 😂
@aerofred2002
@aerofred2002 2 ай бұрын
Welcome to the club. Some of us have been around since "Class components." Imagine learning that and then "hooks" are introduced. At least these changes aren't that groundbreaking.
@salmanpatrick
@salmanpatrick 2 ай бұрын
React blurring the lines between itself and svelte 🔥. Now we cooking
@ontheruntonowhere
@ontheruntonowhere 2 ай бұрын
Itsvelte.
@adityaanuragi6916
@adityaanuragi6916 2 ай бұрын
I honestly like that, react has competition in terms of dx so it'll actually improving
@YGaming18
@YGaming18 Ай бұрын
Thanks 🙏🏼
@whatscooking104
@whatscooking104 Ай бұрын
THIS IS A GAME CHANGER
@Danielo515
@Danielo515 2 ай бұрын
I find fun how they phrase it: "our vision is...", "WE were not satisfied". Man, taking inspired is good, give credit where credit is due
@riajikbal2938
@riajikbal2938 Ай бұрын
New features are amazing 🎉
@celloninja
@celloninja 2 ай бұрын
And here I am just finishing the section of your React course that deals with the memo functions... lol
@adev_312
@adev_312 2 ай бұрын
Welcome to web development! lol
@celloninja
@celloninja 2 ай бұрын
@@adev_312 😂😭
@himanshusingh694
@himanshusingh694 2 ай бұрын
And that's fine.. even I go through old hooks videos to refresh my understanding 😊
@nivethan_me
@nivethan_me 2 ай бұрын
you'll probably won't work on React 19 anytime soon as a professional. we still have code bases with React 16.8
@viallymboma9874
@viallymboma9874 Ай бұрын
And he has made money from you purchasing the course that's getting deprecated gradually...😂
@aymenbachiri-yh2hd
@aymenbachiri-yh2hd 24 күн бұрын
Thank you
@nileshvidurangahemachandra4481
@nileshvidurangahemachandra4481 2 ай бұрын
Huge Kyle W moment. Like always
@AlexandrePaiva308
@AlexandrePaiva308 2 ай бұрын
and there's still nothing about making the states management easier without using external libraries... I can't understand why they don't focus on it as that would be a huge improvement for React development !
@DhruvRed
@DhruvRed Ай бұрын
For majority of react applications doesn't require any state managament library, unless your application is too complicated, the state management should always be kept simple. I have seen many projects where they didn't need redux but they are using it anyway
@aero6927
@aero6927 Ай бұрын
Use contexts?
@alonsojimenez7487
@alonsojimenez7487 Ай бұрын
You can mimic the same functionality that Redux has with Context and useReducer. It works very good. The only thing that maybe is better in Redux is the rxJS implementation, but you can always do it yourself
@chinmayghule8272
@chinmayghule8272 Ай бұрын
@@DhruvRed I'm learning Redux right now and it's a nightmare! The level of abstraction in it makes my head hurt.
@ziadxcode
@ziadxcode 2 ай бұрын
react compiler is amazing, I always get confused about thinking of useStates re-renders
@SLRModShop
@SLRModShop 2 ай бұрын
skill issue
@soberstudy160
@soberstudy160 2 ай бұрын
It perhaps is, but for new people who are learning a compiler that does everything for you might not be the best thing. Does it mean that you can't use useMemo etc. anymore with this new compiler or can you just like opt out?
@SambaDoJaneiro
@SambaDoJaneiro 2 ай бұрын
@@SLRModShopNot using COBOL for web is the real skill issue.
@ontheruntonowhere
@ontheruntonowhere 2 ай бұрын
@@SLRModShop We're not all coding gods like you, Poindexter.
@fifty-plus
@fifty-plus 2 ай бұрын
It's such a leaky abstraction, I don't think a compiler is the right word choice as the role of a compiler isn't to fix footguns that the language introduces. It's good to have the optimization step but the double render and all the footguns are more problematic than hiding them in a compile step - it's the simplest path than fixing the abstraction though so it was an easier choice for them I'm sure.
@Tommy-jn9ps
@Tommy-jn9ps Ай бұрын
Been here since like 50k subs bro the early videos like flexbox css, stories of how you got your first job with the suit and all and stuff like this that helped me to where i am today with a promising career. I wanted to thank you from the bottom of my heart, you were the only youtuber who helped me understand everything clearly and for that i cannot thank you enough.
@FreakyLordSWatchingU
@FreakyLordSWatchingU Ай бұрын
Still no fix to hydration colliding with most browser plugins?
@elvispalace
@elvispalace 2 ай бұрын
excited
@deimne970
@deimne970 2 ай бұрын
Every day it seems more Svelte :)
@codesymphony
@codesymphony Ай бұрын
surprised it took this long
@xgcwrought3346
@xgcwrought3346 Ай бұрын
The more I use react the more workarounds I use.. that being said I really like this update this really makes things alot easier.
@danabc322
@danabc322 2 ай бұрын
I’m interested in the hooks course, but only if it’s free! 😂
@iamcasted
@iamcasted 2 ай бұрын
I don’t like direction React is heading in… use hook adds so much abstraction and ambiguity, it even breaks react rules. Writing server code in client code is also really unintuitive & breaks separation of concerns. It even breaks normal html by changing how action attribute works
@tomstickelaz
@tomstickelaz Ай бұрын
React was ok in 2019. I built a decent app but axios can't touch rxjs in angular. I been on dozens of angular and React projects and while angular is not perfect. React abstraction has become a nightmare as several places with front end gurus struggled to figure out all the insane layers of abstraction that someone else wrote. It's horrific. I will take web forms over Reacts current nightmare abstraction. It's not enjoyable
@chrisfelicien
@chrisfelicien 2 ай бұрын
React look like next js now Thanks Kyle
@everythingisfine9988
@everythingisfine9988 Ай бұрын
Thinking the same thing. Not sure if Next.js provides enough value in switching over. Especially because of Reacts market dominance
@Pareshbpatel
@Pareshbpatel Ай бұрын
Thanks for keeping us informed, Kyle This time on the features of React 19. {2024-03-16}
@regime5070
@regime5070 Ай бұрын
the title link and use hooks and useOptimistic hooks are verry good
@user-by6yl4ps4e
@user-by6yl4ps4e 2 ай бұрын
Thank you for the thorough update! Like always ur channel always add so much! I have just one question: In your opinion, do you think it will be easy to migrate from React 18? Currently, I am running React 18 compiled with Create React App. I attempted to transition to Vite for more efficient compilation, but it has been problematic, so we are sticking with what we have now. Do you think this will pose a problem when we decide to upgrade to React 19?
@shogunkodogun
@shogunkodogun 2 ай бұрын
first of all let go of CRA, even react team isn’t working on it for months. Yes React 19 will be easy to migrate to because it is essentially less React to write
@user-by6yl4ps4e
@user-by6yl4ps4e 2 ай бұрын
@@shogunkodogun yeah i tried but to migrate the current project to vite is a nightmare, so I'm wondering if it'll be the same for react 19
@adityaanuragi6916
@adityaanuragi6916 2 ай бұрын
​@@user-by6yl4ps4eit's mostly gonna be easier I think cuz you're mostly removing stuff rather than adding, like removing the forward ref stuff and the useMemo stuff Changing the context api to use hook could be tricky but I feel react docs is gonna have something for you or a cli to migrate, though I could be wrong
@ChrisPalmer-hw2xb
@ChrisPalmer-hw2xb 9 күн бұрын
could you add the link to these React docs ?
@user-ml1bl4gv6j
@user-ml1bl4gv6j 2 ай бұрын
i guess all left for next js is the SSR with server components and the routing system structure
@sarcasticdna
@sarcasticdna 2 ай бұрын
Next JS is fucked up after v13
@joemart6887
@joemart6887 Ай бұрын
Where is the forwardRef and use hook change they supposedly added? They're not on the latest blog, where do they exactly state they change these 2?
@kirillzlobin7135
@kirillzlobin7135 2 ай бұрын
When are they going to release it?
@user-ko1cw6mv4q
@user-ko1cw6mv4q 2 ай бұрын
Omg Kyle ❤❤😮
@yorox2515
@yorox2515 2 ай бұрын
If react is getting an update and we use react in the next js then does it mean we are also getting rid of these hooks in the next.js too??
@tootyrnt5533
@tootyrnt5533 Ай бұрын
May be a dumb question, but would we still need a module bundler or JavaScript transpiler since we have a compiler now?
@karimkrimou399
@karimkrimou399 2 ай бұрын
Excellent beo
@samael1864
@samael1864 Ай бұрын
Спасибо! Отличные новости!
@SithLordBishop
@SithLordBishop 2 ай бұрын
React hooks was a huge step back for me. Glad to see they are working to correct some of that.
@rdubitsk
@rdubitsk Ай бұрын
Does react 19 reduce the need for next.js?
@chair6180
@chair6180 2 ай бұрын
How does this affect react native Android/iOS/web?
@Emerald13
@Emerald13 2 ай бұрын
So.... they wont need that recommendation anymore to use a framework like next?
@mhslab3947
@mhslab3947 2 ай бұрын
Do you update your past premium course with this update?
@WebDevSimplified
@WebDevSimplified 2 ай бұрын
Yes. Currently there is nothing to update as none of these features are stable and I already have many of these features in my React/Next courses
@eyeCU13
@eyeCU13 Ай бұрын
Does react native have a compiler as well, or is this just for react?
@konstantinpaul8301
@konstantinpaul8301 Ай бұрын
Did you do or planing on make a video for HTMX? I think this could be bebefical especially for "younger" developers who are not aware of Hypermedia and RESTful API
@nxshipon6470
@nxshipon6470 2 ай бұрын
Always love Form Bangladesh 🇧🇩🇧🇩
@hasibulhasankhan8350
@hasibulhasankhan8350 Ай бұрын
বলদ কোথাকার
@tkay42
@tkay42 Ай бұрын
Is React with this stil a light weight libary, or do we have to call React now a full Framework. And if so, for what reason, should I chose React over Angular and Vue.js?
@ezwtwrziehag1736
@ezwtwrziehag1736 Ай бұрын
nothing wrong with using the usememo etc. hooks. they are easy to comprehend.
@SonAyoD
@SonAyoD Ай бұрын
great
@rendivs925
@rendivs925 2 ай бұрын
Cool
@diegommiranda
@diegommiranda Ай бұрын
Does this apply also to React Native?
@bernardoolisan1010
@bernardoolisan1010 Ай бұрын
No, they are different frameworks
@sedhain_pankaj
@sedhain_pankaj 2 ай бұрын
Felt like they are back porting nextjs into react. Compiler is cool though.
@kamalkamals
@kamalkamals 2 ай бұрын
react team inspire from other frameworks like svelte
@kanways8
@kanways8 2 ай бұрын
seems like react becoming svelte. svelte becoming react with new svelte 5
@rostombaouchi8749
@rostombaouchi8749 Ай бұрын
i really like your content, much appreciated, but please, the way you talk and say no with your head at the same time gets me everytime
@ILoveAmerica1123
@ILoveAmerica1123 Ай бұрын
Worth it to learn and master? Thoughts and comments appreciated.
@flygonfiasco9751
@flygonfiasco9751 2 ай бұрын
Did react just graduate from library to framework?
@zedricktorres
@zedricktorres Ай бұрын
That just makes me think that Nextjs is THE React framework...
@Kraykz
@Kraykz Ай бұрын
Awesome summary, thanks! Can you reduce the head shaking though? It's making it harder to focus on the main content..
@raisulislam6356
@raisulislam6356 2 ай бұрын
🎉🎉🎉
@Manpreetsingh-ni3kx
@Manpreetsingh-ni3kx 16 күн бұрын
what about devin?
@hnchanhk
@hnchanhk Ай бұрын
Should I still use next.js with React 19?
@codesymphony
@codesymphony Ай бұрын
yes
@planesrift
@planesrift Ай бұрын
Yes but when
@tumbleweed_wagon2113
@tumbleweed_wagon2113 2 ай бұрын
Holy shit.
@flamrdevs
@flamrdevs 2 ай бұрын
🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
@theshtig4218
@theshtig4218 2 ай бұрын
What's the point of next js now?
@jozekuhar2895
@jozekuhar2895 2 ай бұрын
It's probably more relevant than ever because some of the features like "use server" / "use action" can only be used with framework (not necessary next, of course).
@Alex-mi6xc
@Alex-mi6xc 2 ай бұрын
Is it now better to use react then next.js?
@everythingisfine9988
@everythingisfine9988 2 ай бұрын
2nd this question 👆
@shaunniel02
@shaunniel02 2 ай бұрын
3rd this question
@ooijaz6063
@ooijaz6063 2 ай бұрын
next is a react framework... you can't use next without react next gives you opinionated way working with react (routing, image, font additional features, ssr, etc)
@rand0mtv660
@rand0mtv660 Ай бұрын
Just keep using Next.js if it makes sense for your project. Next.js gives you quality of life features such as file system routing, server side rendering if you need it, image optimization, code splitting and much more. If you don't care about any of those, then just don't use Next.js.
@nicolasguillenc
@nicolasguillenc 2 ай бұрын
Wow a compiler! I wonder who had that amazing idea how did no one think of that before?🥴 - Vue, Svelte, Qwik:🗿
@everythingisfine9988
@everythingisfine9988 2 ай бұрын
It's faster for all the millions of apps that have been created with React to be upgraded versus rewriting in a different framework... Yet, I still love svelte ❤️‍🔥
@StephanHoyer
@StephanHoyer 2 ай бұрын
It's not an amazing idea, it's workaround for a flawed concept. React changes fundamentally with every 2 majors, something massive must be wrong, don't you think?
@SilvestreVivo
@SilvestreVivo 2 ай бұрын
React wants to be like Svelte
@asiacuisine4869
@asiacuisine4869 Ай бұрын
Just use Vue or Swelte. React is so much behind other frameworks in innovations.
@appwala3728
@appwala3728 2 ай бұрын
When I changing the video orientation in your website it's automatically set the video quality to maximum (1080p). But I want if one time I set this to 360p than it should stay always 360p. It's automatically reset. I know what the problem. I also can fix this. But I know you also can do this. Thank you
@germantoenglish898
@germantoenglish898 Ай бұрын
Are actions becoming a "stable" or "staple" part of React?
@germantoenglish898
@germantoenglish898 Ай бұрын
ah...ok..both I think. A stable version that will become a staple part of React.
@hasanbasri5692
@hasanbasri5692 Ай бұрын
So...when will React 19 released?
@andgoedu
@andgoedu 2 ай бұрын
👌👌👌
@ElatedBlue
@ElatedBlue 2 ай бұрын
I hated forwardrefs, so good to see them going away entirely!
@josersleal
@josersleal Ай бұрын
Define compiler. Or is it again hijacking terms to look smart?
@alexandervashchuk7795
@alexandervashchuk7795 2 ай бұрын
The best part is killing optimization features Less is better
@bibahbibah5108
@bibahbibah5108 2 ай бұрын
great with React 19 code is more natural and easy to write, for me as client side react developer my life is better 😂 and simple
@Vishal_0841
@Vishal_0841 2 ай бұрын
Can you please make a React video
@WaliaIbex
@WaliaIbex 2 ай бұрын
Are you telling me they did nothing about the reacts garbage way of global state management ? 😮
@KermitDominicano
@KermitDominicano Ай бұрын
Ah shit, here we go again
@memaimu
@memaimu Ай бұрын
That’s great! Ahh, but now all my dependencies are broken… And I hear React 20 is just around the corner. But I might consider other upcoming technologies such as Javasplit, Fastyfast, and NuJS.
@androiduseronappledevice4477
@androiduseronappledevice4477 Ай бұрын
Best comment 🤣
@liv6646
@liv6646 2 ай бұрын
react turning into vue lol
@rjwhite4424
@rjwhite4424 Ай бұрын
Keeping up to date with React Router might be the most annoying thing ever. They make new changes and deprecate old stuff so much
@ruggeddog3103
@ruggeddog3103 Ай бұрын
better then 100 seconds of crap!
@Nexus9997
@Nexus9997 2 ай бұрын
If react compiler is integrated without breaking changes, the framework is here to stay forever until something revolutionary is made (recent frameworks are not)
@MrMatruskan
@MrMatruskan 2 ай бұрын
These changes just make me want to keep using plain JavaScript
@Desperoro
@Desperoro Ай бұрын
Me too, but my project is now in React :-/
@MrMatruskan
@MrMatruskan Ай бұрын
I’m sorry, bro. I know how you feel, I’ve been there too.
@darrenhwang900
@darrenhwang900 Ай бұрын
Use use use, used
@algorif4715
@algorif4715 2 ай бұрын
EARLY
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 123 М.
Mac & Cheese Donut @patrickzeinali @ChefRush
00:53
albert_cancook
Рет қаралды 210 МЛН
He FOUND MYSTERY inside the GUMMY BEAR 😱🧸😂 #shorts
00:26
BROTHERS VLOG
Рет қаралды 53 МЛН
请善待你的娃娃第二集 #naruto  #cosplay  #shorts
00:52
佐助与鸣人
Рет қаралды 23 МЛН
From React To HTMX
40:01
ThePrimeTime
Рет қаралды 282 М.
UI Libraries Are Dying, Here's Why
13:28
Theo - t3․gg
Рет қаралды 241 М.
Web Developer Roadmap (2024) - Everything is Changing
25:02
ByteGrad
Рет қаралды 190 М.
Gleam 1.0 Is Out! (I think I'm in love...)
33:26
Theo - t3․gg
Рет қаралды 171 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 254 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 436 М.
How To Actually Get Hired In 2024
10:43
Web Dev Simplified
Рет қаралды 182 М.
You might not need useEffect() ...
21:45
Academind
Рет қаралды 117 М.
React Crash Course 2024
3:04:36
Traversy Media
Рет қаралды 174 М.
Mac & Cheese Donut @patrickzeinali @ChefRush
00:53
albert_cancook
Рет қаралды 210 МЛН