Every React 19 Feature Explained in 8 Minutes

Поделиться
HTML-код
  • Опубликовано: 18 дек 2024

Комментарии • 166

  • @majesty5917
    @majesty5917 3 месяца назад +12

    This 7-minute video is worth way more than React 19 Conf video :)).

  • @wchorski
    @wchorski 8 месяцев назад +184

    Really like the pacing, examples, and humor. Now we just need dark mode 🌙

    • @rezgui_aziz
      @rezgui_aziz 8 месяцев назад +1

      I was going to say the same, thank you.

    • @upsxace
      @upsxace 8 месяцев назад +1

      eww Light mode>>>>>>>

    • @be2wa
      @be2wa 7 месяцев назад +1

      and a proper typeface...

    • @petrsehnal7990
      @petrsehnal7990 4 месяца назад +1

      @@be2wa agreed, really exceptional video killed by Comic Sans.

  • @naishe
    @naishe 8 месяцев назад +20

    Really smooth pacing and topic jumps. Great job!

  • @nihadtima8811
    @nihadtima8811 8 месяцев назад +9

    Another fantastic video! Your explanations are exceptional-clear and concise! I'm eagerly awaiting more content from you! Keep up the excellent work!

  • @mod_cyber1015
    @mod_cyber1015 8 месяцев назад +3

    Good pace , and clear concept examples. These examples are way better then others .
    You got one subscriber 👍

  • @miervaldis42
    @miervaldis42 8 месяцев назад +1

    I just spent 2 hours coding a complex form with Next.js and then, I watched your video, saw `formData` at 4:30, went back to my code and rewrote the from in 20 mins.
    Lessons of the story :
    1) The React updates are really great ! 🚀🚀🚀
    2) I should have watched your video earlier 😅😂

  • @eulaliajay8626
    @eulaliajay8626 6 дней назад

    Cool video! Everything is clear, understandable and short. Thank you!

  • @JamesQQuick
    @JamesQQuick 8 месяцев назад

    Wow, great overview. Thanks for this!

  • @russelfernandes8483
    @russelfernandes8483 7 месяцев назад

    So well explained, thank you for summarizing this (and for all the clear illustrations that took time and effort). I need to watch this a couple more time even after trying to watch as much as I can of React Conf 2024;

  • @psiko1006
    @psiko1006 8 месяцев назад +1

    Please make more of such videos. Fasterr! (Keep up the good work)

  • @DericMarchand
    @DericMarchand 8 месяцев назад

    This is just a phenomenal video. Concise, simple and great examples.

  • @yaroslav_holub
    @yaroslav_holub 8 месяцев назад

    This is amazing! Great explanation and great React updates coming.

  • @ouassimzayani8806
    @ouassimzayani8806 8 месяцев назад

    i like the way you use animations to explain concepts, it makes comprehension so much effective
    Thanks

  • @haveyouseenitthough
    @haveyouseenitthough 8 месяцев назад

    Correction on 3:48 - “use server” does not tell react to run the code on the server exclusively. It is only used for creating server actions. “use server” won’t create a server component

    • @TheCodeBootcamp
      @TheCodeBootcamp  7 месяцев назад

      Would have been better to say "To specify code (actions) you want to run on the server"

    • @haveyouseenitthough
      @haveyouseenitthough 7 месяцев назад

      @@TheCodeBootcamp Possibly yeah. I think the real issue is with react choosing those as the way of declaring 2 very different things. “Use client” is more confusing still when you use an SSR framework which is rendering ‘client’ components on the server. It’s fine once you understand it but I think it’s a big problem for beginners

  • @nemeziz_prime
    @nemeziz_prime 8 месяцев назад

    Amazing explanation 🔥 the visuals and examples really helped me understand the new features of React 19

  • @MaxWilliam
    @MaxWilliam 7 месяцев назад

    Awesome explanation! Thanks a lot :)
    We got a really useful video right here.

  • @budiman-kr5ug
    @budiman-kr5ug 9 дней назад

    06:54 so we should render optimisticMessages instead of messages?

  • @lamba7044
    @lamba7044 8 месяцев назад

    really love the way you teach pls make a full in-depth course for React with latest features 🙏

  • @TruthOfDeath1
    @TruthOfDeath1 7 месяцев назад

    Thank you so much for this consice and straight to the point video!

  • @jr21294
    @jr21294 4 месяца назад

    Great. Now I have an excuse to tell LT to remove the code we added a few years ago to make our code performant to now make it more performant. Thanks React. Without you I wouldn’t be able to keep my job 😊

  • @saravanan-subramanian
    @saravanan-subramanian 8 месяцев назад

    Many thanks for this great summary! 🙏

  • @user-mm4kh6tg8u
    @user-mm4kh6tg8u 4 месяца назад

    really really helpful & straightforward thanks alot

  • @Brunoenribeiro
    @Brunoenribeiro 8 месяцев назад +11

    It's an unusual update from the React team. Until now, React was more like a rendering framework with hooks for adding logic. If you wanted form state for instance, you'd need to add it yourself or use a community lib. Now they are bringing their own solutions to some common use cases. I find it interesting.

    • @bass-tones
      @bass-tones 8 месяцев назад +9

      I think they (rightfully) are seeing that React will eventually fall out of relevance if they don’t take some extra steps. The news of the Forget compiler is absolutely massive, and is alone one reason I would have eventually gotten fed up enough with react to switch to something else, if it never appeared.

  • @yt-sh
    @yt-sh 8 месяцев назад

    the code and order of its working is a good idea.
    Great video on these React's concepts 👏👏

  • @NamesAreVacuous
    @NamesAreVacuous 8 месяцев назад +2

    Loving your work. RUclips is full of basic react app tutorials, but well explained content like this is much needed

  • @gnarpow
    @gnarpow 7 месяцев назад

    4:13 - is that supposed to be action={myAction} ?

  • @seifeldeenessam_
    @seifeldeenessam_ 8 месяцев назад +2

    So by introducing both directives and actions, does that mean that React can replace Next.js (or that Next.js isn't necessary anymore)?

    • @jwoods9659
      @jwoods9659 8 месяцев назад +1

      It's all a mess i moved over to VUE

    • @TheCodeBootcamp
      @TheCodeBootcamp  8 месяцев назад

      React doesn't replace Next.js. Next.js is a framework built on top of React.
      With client-side actions in React 19, you can make a client-rendered React app with actions, so you don't need Next.js to use actions in particular.
      Directives are useful only if your components can run on the server or client (like in Next.js). Next.js still has a bunch of features you're still not going to get with a plain React project (data fetching tools, routing, image/font loading, etc)

  • @nilo_river
    @nilo_river 8 месяцев назад +9

    Full circle to PHP era.

    • @anonimous__ho
      @anonimous__ho 8 месяцев назад +2

      same impression here since i heard about nextjs… the new stuff is the re-invented old stuff, they cant change it…

    • @simpingsyndrome
      @simpingsyndrome 6 месяцев назад

      Butt with JavaScript we have constant DX for both backend and frontend while in PHP u still need a JavaScript if u need interactivity​@@anonimous__ho

  • @اطبع
    @اطبع 8 месяцев назад +1

    for beginners should I learn react 19 or older version as most websites use older react version and react 19 has a lot of changes

    • @TheCodeBootcamp
      @TheCodeBootcamp  8 месяцев назад +1

      I would learn React 18 first, especially since its still the stable version. React 19 doesn't replace many things. It's useful to understand why these changes were introduced.

  • @lolhp._.
    @lolhp._. 2 месяца назад +1

    wait is the "use client" and "use server" basically available in react now without a full stack framework?!

  • @prashantmishra5691
    @prashantmishra5691 8 месяцев назад

    that 'subscribe bro plz' at the bottom right got me rolling. subbed haha

  • @ngochunglongnguyen4523
    @ngochunglongnguyen4523 8 месяцев назад +125

    "use server" and "use client" will be a mess! believe me. It's hard to reason about which part of the code is executed on the client or on the server, and confusion will introduce bugs and chaos.

    • @sowmocoding5740
      @sowmocoding5740 8 месяцев назад +42

      Been doing this for 2 years in Nextjs lol

    • @snerketryne
      @snerketryne 8 месяцев назад

      ​@@sowmocoding5740same, and it's a mess lol

    • @kevinreber
      @kevinreber 8 месяцев назад +20

      I feel like Remix does a pretty good job at this. If you want your code to only be ran on the server just rename your file with a ".server.ts". If you want your code only ran on the client, then rename your file with a ".client.ts".
      A lot of these new React concepts and patterns actually look like they're taken from Remix

    • @Athet0s1s
      @Athet0s1s 8 месяцев назад +15

      source: believe me.
      There is so many things that when not used properly can introduce bugs and that doesn't make them less powerful when used properly

    • @elvispalace
      @elvispalace 8 месяцев назад

      i've been using for a while

  • @danielson9490
    @danielson9490 8 месяцев назад +1

    This is gold, very well structured and all the animations helps to get the idea quickly!
    Thanks for share 🫡

  • @devrano48
    @devrano48 8 месяцев назад +3

    Thanks god, I was never comfortable working with those optimization elements.

  • @HamtaroCappy
    @HamtaroCappy 8 месяцев назад

    It makes me feel like a React developer.... which I'm not. Great content !

  • @reze_dev
    @reze_dev 2 месяца назад

    With " use server" for server side rendering. Do we even need next js anymore?

    • @danvilela
      @danvilela 4 дня назад

      Next is so much more than that.. this is actually kinda new in nextjs

  • @codingintelugu8820
    @codingintelugu8820 8 месяцев назад +1

    React compiler is independent of React 19 release. So React Compiler may come with 19 or may not

  • @MoumniIlyass4712
    @MoumniIlyass4712 3 месяца назад

    Great work! Small correction though "use" is not a hook, its an api

  • @zaccanoy
    @zaccanoy 8 месяцев назад +1

    i’m not seeing an ergonomic way of handling error state within the form state or actions here. maybe i’m missing it, or it’s in the docs, but wrapping a component in an error boundary doesn’t feel like a good solution, since that can’t be contained to the component with the form logic (because the error will occur in that component, the error boundary must surround it). there are also aspects of forms that are hard to handle in a performant manner, like arrays of fields. maybe the new compiler handles that part though. but it still sounds like we need libraries like tanstack query to make error handling easy, and libraries like react-hook-form and zod to provide good validation

    • @TheCodeBootcamp
      @TheCodeBootcamp  8 месяцев назад +1

      I bet better patterns will emerge once 19 becomes a stable release

  • @alexkar66
    @alexkar66 7 месяцев назад

    Amazing video! Where do you do such code animations for video?

  • @SergiiLapin
    @SergiiLapin 6 месяцев назад

    useOptimistic is nice. But what if, for example with chat, a user sends a few messages, will setState (set messages in the chat example) override all the optimistic values?

  • @ayhanarif3906
    @ayhanarif3906 8 месяцев назад

    Great video! Keep up the good work, mate.

  • @ajibodeolayinka3903
    @ajibodeolayinka3903 8 месяцев назад

    whoa this is very nice and easy to understand ... can you kindly make on fetching and sending data to the backend in react ether with fetch() or axios

  • @hristiyanhristov9330
    @hristiyanhristov9330 6 месяцев назад

    After 6 months of programming burnout break looks like Im returning in the right time

  • @compilejs110
    @compilejs110 8 месяцев назад +1

    This is really great explanation 👍
    Can you keep video background dark? My eyes hurt in light mode.

  • @binh1298ify
    @binh1298ify 6 месяцев назад +1

    Very helpful. Thanks

  • @AlfonsusAC
    @AlfonsusAC 8 месяцев назад +1

    "use server" is not to run react component on the server. It is to create instant endpoint and run javascript code in the server.

    • @TheCodeBootcamp
      @TheCodeBootcamp  8 месяцев назад +2

      "use server" can be used at the module or function level. You're right that it's primarily used for marking server actions.

  • @enriquegrageda
    @enriquegrageda 8 месяцев назад

    Your subscribe picture is funny af
    You got a subscribe from me 😂

  • @snes87aysd8b
    @snes87aysd8b 7 месяцев назад

    Im not a react dev, but I watched the video... I was wondering, does vuejs abstract a lot of things that makes it easier to use than react?
    It would be interesting an opinion of who know both.

  • @mcflanky8340
    @mcflanky8340 8 месяцев назад

    Good editing and explanation!

  • @MrEnsiferum77
    @MrEnsiferum77 8 месяцев назад

    Does React 19 will support server components out of the box, or u need some minimal server to support RSC?

    • @TheCodeBootcamp
      @TheCodeBootcamp  8 месяцев назад

      You need a server. That's why most people use Next.js (with app router) right now.

    • @MrEnsiferum77
      @MrEnsiferum77 8 месяцев назад

      @@TheCodeBootcampYeah I don't know why I've asked the question, I didn't read the docs properly...
      Btw, waiting for react 19 and moving towards RSC, it's better if I go greenfield, or I have that time and luxury to refactor client app towards server components, i will go with astro + qwik... I mean get all the performance u can get :)

    • @yashsolanki069
      @yashsolanki069 8 месяцев назад

      ​@@TheCodeBootcampi didn't get this. When we run the application it's already running on the server right(locally)?
      So it means another server instance locally to have RSC support?
      I'm not sure how nextjs does this out of the box?

  • @soukaynazaidi5099
    @soukaynazaidi5099 8 месяцев назад +1

    That was very helpful ❤,thank you very much ,could you please make a tutorial for react redux and redux toolkit ?

  • @soundsofnature4065
    @soundsofnature4065 8 месяцев назад

    Clear explain, thanks!

  • @sumanthachark
    @sumanthachark 25 дней назад

    Can anybody share your experience of his bootcamp!?

  • @JJ-sz8wf
    @JJ-sz8wf 8 месяцев назад

    Hey, thank you for Uploading Videos again: I was currently building my Web App with your Full-Stack Saas App Video with Nextjs and SUpabase. Unfortunately you deleted it, can you reupload it, or has some1 downloaded it?

  • @Chetanoo
    @Chetanoo 5 месяцев назад

    Thank you for explaining

  • @tonyvito5062
    @tonyvito5062 8 месяцев назад +1

    Happy that React added those features which means no more NextJS. Vercel is almost killing React

    • @TheCodeBootcamp
      @TheCodeBootcamp  8 месяцев назад +1

      As a React framework, Next.js offers a bunch of features that React doesn't have out of the box. Routing, image/font optimization, SSR, etc. But features like these definitely make the default React experience nicer. Thanks for watching!

    • @tonyvito5062
      @tonyvito5062 8 месяцев назад

      @@TheCodeBootcamp Thanks for your HQ content man!

    • @arden6725
      @arden6725 8 месяцев назад

      all of the server features require next.js until someone writes a different server runtime. the react docs literally refer to next.js when referring to these features

  • @SilvestreVivo
    @SilvestreVivo 8 месяцев назад +3

    React is learning from Svelte

  • @JanithWidarshana
    @JanithWidarshana Месяц назад

    Can we download this slider ?

  • @wishmeheaven
    @wishmeheaven 8 месяцев назад

    Awesome.
    (Subscribed!)

  • @zlatanonkovic2424
    @zlatanonkovic2424 8 месяцев назад

    React is the Apple of Javascript frameworks: "look, everybody, we build a compiler"

  • @leelacreations
    @leelacreations 7 месяцев назад

    Could you please create a video on JavaScript Data Structures and Algorithms

  • @Xeras82
    @Xeras82 8 месяцев назад

    The compiler will not be part auf react 19, maybe as a separatate bable plugin.

  • @ranomtech6463
    @ranomtech6463 3 месяца назад

    At 6:36, I checked my Discord. You might too.

  • @merictunc
    @merictunc 17 дней назад

    This is really useful

  • @MaciejPusa
    @MaciejPusa 8 месяцев назад +1

    4:11 myAction!=formAction

  • @naveedalirehmani4135
    @naveedalirehmani4135 6 месяцев назад

    Great video thanks.

  • @lllapland
    @lllapland 7 месяцев назад

    literally the best one

  • @notramiras
    @notramiras 7 месяцев назад

    This video contains a factually wrong part. "use()" cannot be used to fetch data as described at 2:50. You can't use "use()" with promises created inside the component, because they are not stable references. The whole point of a generic "use()" hook is that unlike other hooks, the identity/persistence of the subscription is already provided by a stable reference. That's the way many state managers, including Recoil, works out dependency definitions inside atoms. You can simply reach out to the dependency through a subscription-based API. But if you put a fetch call in a use(), you'll always have a new promise reference, and it won't work.

  • @levsonc
    @levsonc 8 месяцев назад

    'useFormState' is already going to be replaced by useActionState, which returns errorMessage, action, and isPending state.

  • @connormc711
    @connormc711 8 месяцев назад

    Wow react is becoming solid. Ryan was right

  • @vamshikrishna6001
    @vamshikrishna6001 7 месяцев назад

    Please explain about javascript and mern stack topics

  • @emreunlu5592
    @emreunlu5592 8 месяцев назад +1

    React 19 = Next 14, that's all there is to it

  • @0ninetyseven97
    @0ninetyseven97 7 месяцев назад

    Best explanation

  • @iqwebserve3973
    @iqwebserve3973 5 месяцев назад

    Great video. I am not sure if what you explained for Context and "use server" is 100% accurate but again, great video.

  • @JazzXP
    @JazzXP 8 месяцев назад +2

    Seems like they're taking a lot of inspiration from Svelte with this update. I'm all for it.

  • @Devendradhare
    @Devendradhare 8 месяцев назад

    Experiencing technology change for the first time in my life

  • @firethunder20
    @firethunder20 8 месяцев назад +1

    Create one on flutter

  • @truestoriesz
    @truestoriesz 8 месяцев назад +1

    Angular please

  • @playboycity
    @playboycity 6 месяцев назад

    The form stuff looks like trying to “use the platform” and the asynchronous stuff looks tanstack query

  • @jehnzcode
    @jehnzcode 8 месяцев назад

    React is slowly becoming Nextjs because of new actions feature

  • @francisco8196
    @francisco8196 8 месяцев назад

    Cant get the idea of useOptimistic

  • @msahu2595
    @msahu2595 8 месяцев назад +1

    Very nice ❤❤

  • @notaspectator
    @notaspectator 8 месяцев назад

    There is a bug in your code on minute 2:42 , your internal function is called fetchPerson, yet in the useeffect you're calling getPerson(). Given that this is a BootCamp, I would assume this is helpful.

  • @neosarchizo
    @neosarchizo 7 месяцев назад

    So good videos!!

  • @movieshub-y2q
    @movieshub-y2q 8 месяцев назад

    I am new in react can you make a project video which is help to improve react concept 😊😊😊

  • @eugenefedorov3498
    @eugenefedorov3498 8 месяцев назад

    That was good!

  • @Александр-ч4п5ъ
    @Александр-ч4п5ъ 8 месяцев назад +2

    Wow this svelte 5 release looks promising

  • @keremsabirli13
    @keremsabirli13 8 месяцев назад

    so after 19 versions, react accepts angular's way was the right one.

  • @prashlovessamosa
    @prashlovessamosa 8 месяцев назад

    Please make more comprehensive videos with examples.

    • @TheCodeBootcamp
      @TheCodeBootcamp  8 месяцев назад +1

      What would you like to see?

    • @prashlovessamosa
      @prashlovessamosa 8 месяцев назад

      @@TheCodeBootcamp i mean to say please make more comprehensive videos explaning topics thats it.

  • @SauravTiru
    @SauravTiru 26 дней назад

    waiting for useUse hook in react 20

  • @privetdriver
    @privetdriver 7 месяцев назад

    react became almost like vue 5 years ago 🎉

  • @mikkun_
    @mikkun_ 7 месяцев назад +1

    This would destroy our whole app. Omg

  • @FrontendNerd-lg3oh
    @FrontendNerd-lg3oh 8 месяцев назад

    reed bager is that you ?

  • @Peepotan
    @Peepotan 3 месяца назад

    Still not a framework, guys, just a tiny small library!

  • @SmartWizzard
    @SmartWizzard 7 дней назад

    Your videos are good but to grasp the new concept, you need to slow down or make multiple short videos.

  • @albiceleste101
    @albiceleste101 8 месяцев назад

    They should've done this years ago

  • @АлексейАгадилов
    @АлексейАгадилов 8 месяцев назад

    cool video

  • @aymanechaaba
    @aymanechaaba 8 месяцев назад

    Memoization alwayes seemed to me just a headeache when writing react code, In fact, I never even give them I try 😂. Who feels the same?

  • @andrasmargittai6663
    @andrasmargittai6663 8 месяцев назад

    Great