NEW React 19 Changes Are Amazing!

Поділитися
Вставка
  • Опубліковано 8 лют 2025

КОМЕНТАРІ • 243

  • @andremazetto
    @andremazetto 11 місяців тому +6

    Thanks!

  • @TubelatorAI
    @TubelatorAI 11 місяців тому +7

    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!

    • @devdance95
      @devdance95 10 місяців тому

      thank you

    • @rickyale1618
      @rickyale1618 5 місяців тому

      generated code is not for pros bro

  • @cliftonbeale2945
    @cliftonbeale2945 11 місяців тому +4

    Liked & Subscribed for the video alone. The free course is insane, you are the goat.

  • @Happyendrew
    @Happyendrew 11 місяців тому +11

    seven words in support of this channel!)

  • @babatundetaiwo5184
    @babatundetaiwo5184 11 місяців тому +360

    Frontend is the most unstable stack ngl

    • @AbhishekSatyavolu
      @AbhishekSatyavolu 11 місяців тому +74

      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 11 місяців тому +4

      @@AbhishekSatyavolu 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 11 місяців тому +30

      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 11 місяців тому

      @@cosminmocanu5254 just the other day I did something with Nexjs 13 next day 14 is out. Frontend is just so unstable

    • @Hipstergramm
      @Hipstergramm 11 місяців тому

      @@cosminmocanu5254 just stay on a react 14 framework and you wont need to upgrade anymore

  • @aliplaysgtr
    @aliplaysgtr 11 місяців тому +4

    Thanks for the summary dude!

  • @tigranpetrosyan144
    @tigranpetrosyan144 11 місяців тому +9

    As always, top content! Thanks

  • @iamcasted
    @iamcasted 11 місяців тому +19

    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 11 місяців тому +2

      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

  • @Tommy-jn9ps
    @Tommy-jn9ps 11 місяців тому +4

    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.

  • @ThandarLin-n1l
    @ThandarLin-n1l 11 місяців тому +2

    Happy Birthday! Your dedication to sharing knowledge is inspiring, and I wish you a year filled with continued success and fulfillment in your endeavors. 🥳🎈🎁

  • @boopfer387
    @boopfer387 9 місяців тому +1

    You are awesome Kyle!

  • @celloninja
    @celloninja 11 місяців тому +56

    And here I am just finishing the section of your React course that deals with the memo functions... lol

    • @adev_312
      @adev_312 11 місяців тому +23

      Welcome to web development! lol

    • @celloninja
      @celloninja 11 місяців тому

      @@adev_312 😂😭

    • @HimanshuSingh_92
      @HimanshuSingh_92 11 місяців тому +1

      And that's fine.. even I go through old hooks videos to refresh my understanding 😊

    • @nivethan_me
      @nivethan_me 11 місяців тому +8

      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 11 місяців тому

      And he has made money from you purchasing the course that's getting deprecated gradually...😂

  • @rickyale1618
    @rickyale1618 5 місяців тому

    great Review of the new functionalities of React, the memoization was the first big problem for an UI based on states.
    for those who will get confused about the word "build"...
    normally when you "build" a sintaxe you are translating it to binary code to be interpret by the architeture of the target machine, but in the case of fontends, we are talking about converting one sintaxe into another, it is still script but better.
    it is still vanilla js script

  • @ziadx3
    @ziadx3 11 місяців тому +21

    react compiler is amazing, I always get confused about thinking of useStates re-renders

    • @SLRModShop
      @SLRModShop 11 місяців тому +15

      skill issue

    • @oluijks
      @oluijks 11 місяців тому

      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?

    • @ontheruntonowhere
      @ontheruntonowhere 11 місяців тому +2

      @@SLRModShop We're not all coding gods like you, Poindexter.

    • @fifty-plus
      @fifty-plus 11 місяців тому +1

      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.

  • @jasonzamora3618
    @jasonzamora3618 11 місяців тому +109

    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 11 місяців тому +2

      Yes😢😭

    • @milanfanas
      @milanfanas 11 місяців тому +5

      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 11 місяців тому +3

      Fr just started to get into react next day boom react 19

    • @IlyesCodes
      @IlyesCodes 11 місяців тому

      Welcome to web development realm 😂

    • @aerofred2002
      @aerofred2002 11 місяців тому +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.

  • @aaronely759
    @aaronely759 11 місяців тому +1

    You are awesome, thank you for the content.

  • @salmanhaider14
    @salmanhaider14 11 місяців тому +51

    React blurring the lines between itself and svelte 🔥. Now we cooking

    • @ontheruntonowhere
      @ontheruntonowhere 11 місяців тому +3

      Itsvelte.

    • @adityaanuragi6916
      @adityaanuragi6916 11 місяців тому +2

      I honestly like that, react has competition in terms of dx so it'll actually improving

  • @aliuabdulmanaf353
    @aliuabdulmanaf353 11 місяців тому +1

    Thanks for the update

  • @Danielo515
    @Danielo515 11 місяців тому +6

    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

  • @YGaming18
    @YGaming18 10 місяців тому

    Thanks 🙏🏼

  • @rustee_nyfe
    @rustee_nyfe 11 місяців тому

    That's really something important. Thank you

  • @AlexandrePaiva-dev
    @AlexandrePaiva-dev 11 місяців тому +23

    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 11 місяців тому +8

      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 11 місяців тому +2

      Use contexts?

    • @alonsojimenez7487
      @alonsojimenez7487 11 місяців тому

      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 11 місяців тому +4

      @@DhruvRed I'm learning Redux right now and it's a nightmare! The level of abstraction in it makes my head hurt.

    • @Tarunkhandelwaldel
      @Tarunkhandelwaldel 9 місяців тому +1

      ​@@DhruvRed you are completely right here. One example is redux, completely over used, devs don't realise that 90% of time they don't need any state management lib. For me react context for basic global state and react-query for api response caching worked really well and never needed to use the redux.

  • @xgcwrought3346
    @xgcwrought3346 11 місяців тому +1

    The more I use react the more workarounds I use.. that being said I really like this update this really makes things alot easier.

  • @whatscooking104
    @whatscooking104 11 місяців тому +2

    THIS IS A GAME CHANGER

  • @SithLordBishop
    @SithLordBishop 11 місяців тому +7

    React hooks was a huge step back for me. Glad to see they are working to correct some of that.

    • @fatmilf1498
      @fatmilf1498 4 місяці тому

      U didn’t continue using class components?

  • @sairagulamali9018
    @sairagulamali9018 11 місяців тому

    thanks for the excellent content!

  • @yassinebenazouz4529
    @yassinebenazouz4529 11 місяців тому +5

    the new use hook is 🔥🔥

  • @ashanperera9931
    @ashanperera9931 2 місяці тому +3

    Anyone noticed in 3.50 UA-cam like button flashing?

  • @YouDJeuR
    @YouDJeuR 11 місяців тому

    Wow thanks for the update

  • @sumitsinha995
    @sumitsinha995 6 місяців тому

    Great 👍 Kyle 🎉

  • @deimne970
    @deimne970 11 місяців тому +5

    Every day it seems more Svelte :)

    • @codesymphony
      @codesymphony 11 місяців тому

      surprised it took this long

  • @FreakyLordSWatchingU
    @FreakyLordSWatchingU 11 місяців тому +2

    Still no fix to hydration colliding with most browser plugins?

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd 10 місяців тому

    Thank you

  • @mauriciomueller86
    @mauriciomueller86 11 місяців тому

    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?

  • @Pareshbpatel
    @Pareshbpatel 10 місяців тому

    Thanks for keeping us informed, Kyle This time on the features of React 19.
    {2024-03-16}

  • @riajikbal2938
    @riajikbal2938 11 місяців тому

    New features are amazing 🎉

  • @joemart6887
    @joemart6887 10 місяців тому

    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?

  • @liridongashi2616
    @liridongashi2616 11 місяців тому

    Thank you❤

  • @rdubitsk
    @rdubitsk 11 місяців тому +1

    Does react 19 reduce the need for next.js?

  • @BreezyCactus
    @BreezyCactus 11 місяців тому +1

    I’m interested in the hooks course, but only if it’s free! 😂

  • @chrisfelicien
    @chrisfelicien 11 місяців тому +1

    React look like next js now
    Thanks Kyle

    • @everythingisfine9988
      @everythingisfine9988 11 місяців тому +3

      Thinking the same thing. Not sure if Next.js provides enough value in switching over. Especially because of Reacts market dominance

  • @omkareswararao9779
    @omkareswararao9779 11 місяців тому

    Great explanation Always... Thanks 🙏 Bro

  • @regime5070
    @regime5070 11 місяців тому

    the title link and use hooks and useOptimistic hooks are verry good

  • @ezwtwrziehag1736
    @ezwtwrziehag1736 11 місяців тому

    nothing wrong with using the usememo etc. hooks. they are easy to comprehend.

  • @tootyrnt5533
    @tootyrnt5533 10 місяців тому

    May be a dumb question, but would we still need a module bundler or JavaScript transpiler since we have a compiler now?

  • @azula9714
    @azula9714 11 місяців тому

    Huge Kyle W moment. Like always

  • @Emerald13
    @Emerald13 11 місяців тому +2

    So.... they wont need that recommendation anymore to use a framework like next?

  • @WalidAra
    @WalidAra 11 місяців тому +1

    i guess all left for next js is the SSR with server components and the routing system structure

    • @sarcasticdna
      @sarcasticdna 11 місяців тому +3

      Next JS is fucked up after v13

  • @eyeCU13
    @eyeCU13 11 місяців тому

    Does react native have a compiler as well, or is this just for react?

  • @simo_code
    @simo_code 11 місяців тому

    Thanks bro

  • @jesse-c5y
    @jesse-c5y 6 місяців тому

    how does use hook compare to tanstack useQuery? seems they do almost the same thing?

  • @Kraykz
    @Kraykz 11 місяців тому +1

    Awesome summary, thanks!
    Can you reduce the head shaking though? It's making it harder to focus on the main content..

  • @ChrisPalmer-hw2xb
    @ChrisPalmer-hw2xb 9 місяців тому

    could you add the link to these React docs ?

  • @NoName-j8j3o
    @NoName-j8j3o Місяць тому

    So in oficial documentation for react compiler still writes:
    "React Compiler is a new compiler currently in Beta, that we’ve open sourced to get early feedback from the community."
    So do we have React compiler in React 19 or not ? I am confused.

  • @yorox2515
    @yorox2515 11 місяців тому +1

    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??

  • @randompointlessness2766
    @randompointlessness2766 8 місяців тому

    so I dont need to worry about any memoization hooks, unless I dont trust the compiler and insist on using them ! ? :D

  • @Mia-x3u7l
    @Mia-x3u7l 11 місяців тому

    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 11 місяців тому +1

      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

    • @Mia-x3u7l
      @Mia-x3u7l 11 місяців тому

      @@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 11 місяців тому

      ​@@Mia-x3u7lit'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

  • @flygonfiasco9751
    @flygonfiasco9751 11 місяців тому +2

    Did react just graduate from library to framework?

  • @tkay42
    @tkay42 11 місяців тому

    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?

  • @kanways8
    @kanways8 11 місяців тому +4

    seems like react becoming svelte. svelte becoming react with new svelte 5

  • @ILoveAmerica1123
    @ILoveAmerica1123 11 місяців тому +1

    Worth it to learn and master? Thoughts and comments appreciated.

  • @nicolasguillenc
    @nicolasguillenc 11 місяців тому +6

    Wow a compiler! I wonder who had that amazing idea how did no one think of that before?🥴
    - Vue, Svelte, Qwik:🗿

    • @everythingisfine9988
      @everythingisfine9988 11 місяців тому +3

      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 11 місяців тому +1

      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?

  • @mhslab3947
    @mhslab3947 11 місяців тому

    Do you update your past premium course with this update?

    • @WebDevSimplified
      @WebDevSimplified  11 місяців тому +1

      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

  • @theshtig4218
    @theshtig4218 11 місяців тому +16

    What's the point of next js now?

    • @jozekuhar2895
      @jozekuhar2895 11 місяців тому +1

      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).

  • @konstantinpaul8301
    @konstantinpaul8301 11 місяців тому

    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

  • @hnchanhk
    @hnchanhk 11 місяців тому

    Should I still use next.js with React 19?

  • @kirillzlobin7135
    @kirillzlobin7135 11 місяців тому

    When are they going to release it?

  • @elvispalace
    @elvispalace 11 місяців тому

    excited

  • @samael1864
    @samael1864 11 місяців тому

    Спасибо! Отличные новости!

  • @rostombaouchi8749
    @rostombaouchi8749 11 місяців тому

    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

  • @kamalkamals
    @kamalkamals 11 місяців тому +1

    react team inspire from other frameworks like svelte

  • @diegommiranda
    @diegommiranda 11 місяців тому

    Does this apply also to React Native?

  • @Manpreetsingh-ni3kx
    @Manpreetsingh-ni3kx 10 місяців тому

    what about devin?

  • @zedricktorres
    @zedricktorres 10 місяців тому

    That just makes me think that Nextjs is THE React framework...

  • @chair6180
    @chair6180 11 місяців тому

    How does this affect react native Android/iOS/web?

  • @sedhain_pankaj
    @sedhain_pankaj 11 місяців тому

    Felt like they are back porting nextjs into react. Compiler is cool though.

  • @Alex-mi6xc
    @Alex-mi6xc 11 місяців тому +5

    Is it now better to use react then next.js?

    • @everythingisfine9988
      @everythingisfine9988 11 місяців тому +2

      2nd this question 👆

    • @shaunnieeee
      @shaunnieeee 11 місяців тому +1

      3rd this question

    • @ooijaz6063
      @ooijaz6063 11 місяців тому +1

      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 11 місяців тому

      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.

  • @GelzintVidaurre
    @GelzintVidaurre 11 місяців тому

    Omg Kyle ❤❤😮

  • @hasanbasri5692
    @hasanbasri5692 11 місяців тому

    So...when will React 19 released?

  • @germantoenglish898
    @germantoenglish898 11 місяців тому

    Are actions becoming a "stable" or "staple" part of React?

    • @germantoenglish898
      @germantoenglish898 11 місяців тому

      ah...ok..both I think. A stable version that will become a staple part of React.

  • @asiacuisine4869
    @asiacuisine4869 11 місяців тому

    Just use Vue or Swelte.
    React is so much behind other frameworks in innovations.

  • @planesrift
    @planesrift 11 місяців тому

    Yes but when

  • @Solo_playz
    @Solo_playz 8 місяців тому

    For me your videos run on 1.5x speed 😂😂 but they are cool for sure, Thanks kyle

  • @josersleal
    @josersleal 11 місяців тому

    Define compiler. Or is it again hijacking terms to look smart?

  • @karimkrimou399
    @karimkrimou399 11 місяців тому

    Excellent beo

  • @nxshipon6470
    @nxshipon6470 11 місяців тому +1

    Always love Form Bangladesh 🇧🇩🇧🇩

  • @SonAyoD
    @SonAyoD 11 місяців тому

    great

  • @ElatedBlue
    @ElatedBlue 11 місяців тому

    I hated forwardrefs, so good to see them going away entirely!

  • @northloo
    @northloo 8 місяців тому

    Wait wait wait kyle... are tou saying actions will simply just work in client co ponents without calling thw action in a onSubmit handler????? If so i will start jumping all over the place

  • @nitigyajoshi4658
    @nitigyajoshi4658 11 місяців тому +2

    So React.js 19 is finally better than Next.js? Should I start using React again in my projects instead of Next? Please reply...

  • @rendivs925
    @rendivs925 11 місяців тому

    Cool

  • @WaliaIbex
    @WaliaIbex 11 місяців тому +3

    Are you telling me they did nothing about the reacts garbage way of global state management ? 😮

  • @SilvestreVivo
    @SilvestreVivo 11 місяців тому

    React wants to be like Svelte

  • @alexandervashchuk7795
    @alexandervashchuk7795 11 місяців тому

    The best part is killing optimization features
    Less is better

  • @rjwhite4424
    @rjwhite4424 11 місяців тому

    Keeping up to date with React Router might be the most annoying thing ever. They make new changes and deprecate old stuff so much

  • @MrMatruskan
    @MrMatruskan 11 місяців тому +2

    These changes just make me want to keep using plain JavaScript

    • @Desperoro
      @Desperoro 11 місяців тому

      Me too, but my project is now in React :-/

    • @MrMatruskan
      @MrMatruskan 11 місяців тому

      I’m sorry, bro. I know how you feel, I’ve been there too.

  • @darrenhwang900
    @darrenhwang900 11 місяців тому +1

    Use use use, used

  • @raisulislam6356
    @raisulislam6356 11 місяців тому

    🎉🎉🎉

  • @JakubSK
    @JakubSK 9 місяців тому

    Even after all this, vanilla wins

  • @andgoedu
    @andgoedu 11 місяців тому

    👌👌👌