React 18 - What's New, What Changed & Upgrade Guide

Поделиться
HTML-код
  • Опубликовано: 28 мар 2022
  • React 18 was released and since it's a new major version, the big questions is: What changed?
    Indeed, React 18 lays a solid foundation for great future updates and introduces one very important new concept: Concurrency.
    Nonetheless, updating is extremely easy and requires almost no work. You don't need to re-learn React, you don't need to change your entire codebase.
    Full tutorial article: academind.com/tutorials/react...
    My "Complete Guide" course is entirely up-to-date with this latest version of React!
    Join now at a super-low price: acad.link/reactjs
    ----------
    Join our Academind Community on Discord: academind.com/community
    Check out all our other courses: academind.com/courses
    ----------
    • Go to www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content & discounts
    • Follow @maxedapps and @academind_real on Twitter
    • Follow @academind_real on Instagram: / academind_real
    • Join our Facebook community on / academindchannel
    See you in the videos!
    ----------
    Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, Nuxt.js, RxJs, Bootstrap, Laravel, Node.js, Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at academind.com to find the learning resource of your choice!

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

  • @dvreddy007
    @dvreddy007 2 года назад +2

    Thanks you Max for quick and easy updates in a short video. Always love your explanations.

  • @kamilpalinski5639
    @kamilpalinski5639 2 года назад +7

    You can explain everything in easy way. Thanks :D

  • @santiagoguastavino346
    @santiagoguastavino346 2 года назад

    Thank you! Simple and understandable. I already made these changes in my projects. Looking forward to more videos of updates.

  • @sanzhar.danybayev
    @sanzhar.danybayev 2 года назад

    Thank you for updating! Much appreciated !

  • @olowoniyidaniel
    @olowoniyidaniel Год назад +1

    Currently taking your react course... you're making it easy for me to learn react. Thanks max 😊 🙏

  • @Jambajakumba
    @Jambajakumba 2 года назад +85

    Thank you for this Max. I love your content, so simple to understand and internalize. Keep up the amazing work👏👏

  • @prantomollick3559
    @prantomollick3559 2 года назад +6

    Thank you so much Maximilian Schwarzmüller:) It's really helpful tutorial.

  • @indrasen9617
    @indrasen9617 2 года назад

    Thanks Max. You keep it so easy and precise.

  • @shyamkumar1016
    @shyamkumar1016 2 года назад

    Thank you soo much for your courses. They are super easy to understand and give in depth knowledge. It helped me to get my current job and I will try to teach others like you are teaching.
    Thanks a lot.

  • @aleksandrawojcik2507
    @aleksandrawojcik2507 2 года назад

    You are amazing and always on time! Thank you!

  • @vimz92
    @vimz92 2 года назад

    Thanks for the information bro. I'll be checking updates on react from your channel from now on. Subscribed ❤️

  • @incubated
    @incubated 2 года назад

    great video max. your courses helped me out a lot with work.

  • @abedaarabi3014
    @abedaarabi3014 2 года назад +3

    Thank you 😊 you are the best in explaining ❤

  • @jongsunpark8954
    @jongsunpark8954 2 года назад

    Amazing! looking forward to using new featrures! Thanks, Max ✨✨

  • @kishoresaha297
    @kishoresaha297 2 года назад +1

    React Fullstack😍 coming, Thanks for the info

  • @kitchen-e-kausar9105
    @kitchen-e-kausar9105 2 года назад

    Thank you for the update Max, it's easy to follow up with just one video. What pain it would have been to read it on text.

  • @akcalder92
    @akcalder92 2 года назад +34

    I started your React course on Udemy two weeks ago. You are such a great teacher, so I bought several more courses. Thank you Maximilian.

    • @elsonjunior2112
      @elsonjunior2112 2 года назад +2

      When my friends ask me about how to learn React or Javascript, I tell them to buy Max courses on Udemy.

    • @timiawoniyi5168
      @timiawoniyi5168 2 года назад

      But people complain of it.
      They said it's not updated and other inconsistencies

    • @Almighty_Flat_Earth
      @Almighty_Flat_Earth 2 года назад +2

      React js is a shame to JavaScript community. Governments should ban the use of this stupid library. Same functionalities can be achieved with Angular and Svelte with less frustration, so what's the point of using the stupid react js which makes web development unnecessarily complicated.? Those who use react are slaves.

  • @meitoli
    @meitoli 2 года назад

    thank you for sharing your precious time and knowledge with us

  • @donxnik
    @donxnik 2 года назад +2

    Keep it up Max! You are awesome!

  • @amithbhagat
    @amithbhagat 2 года назад

    Thanks 🙏 for updating on React 18 features, sir.

  • @albertocastany
    @albertocastany 2 года назад +1

    that was quick! thank you Max

  • @samislam2746
    @samislam2746 2 года назад

    I finished reading React 17 documentation 7 days ago. Now I saw you video I'm still in the mood to check their website again ✔ thanks for informing us 👍 👌

  • @apayrus
    @apayrus 2 года назад +2

    Max, thank you! You are the best!

  • @user-qs1tp1ll9i
    @user-qs1tp1ll9i 2 года назад

    Amazing explanation. Love React and Max.

  • @choudharysahabmusic3513
    @choudharysahabmusic3513 2 года назад +14

    You are one of best teacher on udemy. I 've learned Angualr, React and JavaScript from your Udemy courses.
    Thank you max 🙏

  • @roctanweer2265
    @roctanweer2265 Год назад

    Thank you sir!

  • @kllokoq
    @kllokoq 2 года назад +2

    Thank you!

  • @edilsonfb
    @edilsonfb 2 года назад +2

    Great video. Thanks

  • @IH-dk6mk
    @IH-dk6mk 2 года назад +2

    thank you!!😀

  • @tatemuchi7372
    @tatemuchi7372 2 года назад

    Very useful, thanks mate.

  • @onee
    @onee Год назад +1

    At 0:40 you can also do this: ReactDOM.createRoot(document.getElementById('root')).render();
    I've even seen somebody do this:
    import { createRoot } from "react-dom/client";
    createRoot(document.getElementById('root')).render();

  • @vaniad555
    @vaniad555 2 года назад

    Thank you for this great video!

  • @shubhammadankar6390
    @shubhammadankar6390 2 года назад

    Thanx max. It is helpful

  • @rishabhrastogi4220
    @rishabhrastogi4220 11 месяцев назад

    very well explained 👐

  • @luizamendes
    @luizamendes 2 года назад

    Thank you, great video.

  • @nemanjadjoric8765
    @nemanjadjoric8765 2 года назад

    I bought your Udemy course (React), and it Is one of Best desitions i ever made! The way you explain things Is so amazing, the way you start with almost nothing and after one hour or two, I am lerning advanced stuff. Awesome. Thank you for existing!! :) Ps: seriously, thank you so much!

  • @mohammadhosseinmoradi2021
    @mohammadhosseinmoradi2021 Год назад

    Thanks a lot.

  • @hello-ff8hh
    @hello-ff8hh 2 года назад

    didnt need to see the title to know who the tutor is! Thanks Max!

  • @shashikantmarskole
    @shashikantmarskole 2 года назад

    Thank you Max, Short & sweet understandable. keep it up ,Great work

  • @DineshVutukuru
    @DineshVutukuru 2 года назад

    Thank you Max, you taught millions of people.

  • @adilmughal2251
    @adilmughal2251 Год назад

    Well explained.

  • @walidzhani6093
    @walidzhani6093 2 года назад

    I took the #React certification from your Udemy Course, 1.5 year ago... Since that I am a huge fan of #React.
    #React is the best #JavaScript framework ❤️ ❤️ ❤️.

  • @Climb_Mountains
    @Climb_Mountains 2 года назад

    thanks!

  • @sportshome6504
    @sportshome6504 2 года назад +1

    Thank you Sir

  • @jampietri583
    @jampietri583 2 года назад

    You’re amazing, dude.

  • @maxd7228
    @maxd7228 2 года назад +2

    Always first on the news. Excellent

  • @moinulislammoin
    @moinulislammoin 2 года назад

    Thanks, Max

  • @muhammadtouhiduzzaman7491
    @muhammadtouhiduzzaman7491 2 года назад

    Thank you boss ❤. you are such a amazing man. Love from bangladesh

  • @ronnieleon7857
    @ronnieleon7857 2 года назад +1

    Ich habe zu viel dingen gelernt. Danke schon Max. Back in the days when I was starting out development, I would look at your courses in Udemy and just wish I could access it. A few years down the line I got access to your courses and it has transformed me into a better developer. Be blessed Max!

  • @colokid3
    @colokid3 2 года назад

    This was so much more helpful than the React docs for making this change 😁 Thank you good sir!

  • @jomaramomas7682
    @jomaramomas7682 2 года назад

    Great stuff.

  • @sealone777
    @sealone777 2 года назад +2

    I miss react since I use Angular. Just curious if new web courses are coming soon! Looking very much forward!

  • @yoshitaarora4180
    @yoshitaarora4180 2 года назад

    Woaaaaaah. This is bomb !

  • @tkdevlop
    @tkdevlop 2 года назад +2

    Interesting stuff

  • @durgaprasaddas6494
    @durgaprasaddas6494 2 года назад

    I was never excited about anything like this, after i saw the React 18❤️

  • @ashwanisahu8755
    @ashwanisahu8755 2 года назад +1

    Love you 😘😉♥️

  • @kevyyar
    @kevyyar 2 года назад +2

    Max is the greatest to ever do it. If you want to learn a new tech fully, reference Max courses

  • @Pareshbpatel
    @Pareshbpatel 2 года назад

    Nice summary of React-18 Changes. Thanks, Max
    {2022-06-15}

  • @softmaxBasketball
    @softmaxBasketball 2 года назад +1

    Dankeschön

  • @yzhu
    @yzhu 2 года назад

    Omg I randomly come across this video and immediately recognized the voice! Had many courses on Udemy from Maximilian

  • @munteanurares1075
    @munteanurares1075 2 года назад

    Hello Max ! Are you going to update the React Native course as well ? Thank you !

  • @adityatripathi1904
    @adityatripathi1904 Год назад

    One small correction at 2:47: React does batch process state updates if there are multiple updates happening. It doesn’t necessarily go one by one.

  • @DuyTran-ss4lu
    @DuyTran-ss4lu 2 года назад

    Awesome

  • @izio4408
    @izio4408 2 года назад

    Looking forward to wversion 18

  • @archmad
    @archmad 2 года назад +2

    when he said, it does not break your existing code, well it does. FC does not contain children anymore. Instead use it with PropsWithChildren

  • @Thilina4321
    @Thilina4321 2 года назад +1

    ❤️

  • @varadasaiprakash9998
    @varadasaiprakash9998 2 года назад

    great

  • @EricCosner
    @EricCosner 2 года назад +1

    Does anyone know how to make “react-dom/client” work with a purely CDN implementation? I get a warning for not using the client but can’t seem to fix it without switching to something like webpack.

  • @joel9909
    @joel9909 Год назад

    I will be a React Sage someday!

  • @perchinina
    @perchinina 2 года назад

    hello and thank you very much for the video! I know it's not stackoverflow but I have a trouble with newest version of React. I run into this error `index.js:1 Uncaught SyntaxError: Unexpected token

  • @ignaciohenriquez8739
    @ignaciohenriquez8739 2 года назад

    Awesome thanks. Do you plan to update part of your React course?

    • @academind
      @academind  2 года назад +2

      The course is 100% up-to-date

  • @thebrain678
    @thebrain678 2 года назад +1

    🥇

  • @deepakbhatt7494
    @deepakbhatt7494 2 года назад

    Hey Max, great job but something is not working with typescript , done same changes update react and react dom and types could you please made a video that is with typescript. redux toolkit I am using and react-query, something went wrong my
    app is not responding well

  • @angeloliver2825
    @angeloliver2825 2 года назад

    Now, we can get two or more independed react executions trees in the same page :O

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

    ❤❤❤❤❤

  • @Sidgd1987
    @Sidgd1987 2 года назад

    Redux was working weird, i tried everything to fix but at the end using reactdom's render method fixed all the issues.

  • @MrDevecka
    @MrDevecka Год назад

    Max, I as a steady student of alll your courses on Udemy (react, next, django) am highly interrested about one thing: does the lazy loading, Suspense and code splitting this way nullify the ultimate need for a bundler like webpack or ViteRoll...? I hit my head to the wall everytime when working on a react project with that annoying webpack setup for minification and code splitting. Does lazy and Suspense and the lazy imports code splitting fully replace the webpack?

  • @edoardo7848
    @edoardo7848 2 года назад

    Got an error with Typescript though, when const root = ReactDOM.createRoot(document.getElementById("root")) I get "TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'Element | DocumentFragment'.Type 'null' is not assignable to type 'Element | DocumentFragment'." I know why of course, but is that expected? Just put an exclamation mark? Seems a bit hacky...

  • @jeremy6843
    @jeremy6843 2 года назад

    Hi Max, would you recommend jumping into nextjs framework or reactjs and express framework for a fullstack developer?

    • @cuuy
      @cuuy Год назад

      I'm not Max, though I'd recommend learning express first. nextjs uses pretty much the same code as express for api routes. So instead of jumping into nextjs, you should learn express and the concept of a rest api first.

  • @ifaduolasamuel7144
    @ifaduolasamuel7144 2 года назад

    Hi, please how can I use react-router@6 with the new React updated version@18

  • @Randomguy48279xyz
    @Randomguy48279xyz 2 года назад

    👍

  • @mataal8770
    @mataal8770 2 года назад

    Hi i have implemented the changes in the code but why is it that when i click my links it is not rendering. I have to refresh the browser for it to render the components.

  • @thiccboi6211
    @thiccboi6211 2 года назад

    Does this work without issues for 3rd party libraries. How will libs like redux work without upgrading?

  • @soultanmuhammadalbar2311
    @soultanmuhammadalbar2311 2 года назад

    is it implement-able on React Native?

  • @subhranshudas8862
    @subhranshudas8862 2 года назад

    If you are authoring. react component library what should be the dev & peer dependency versions for react, react-dom??
    package --> devDep = [react 18, react dom 18], peerDep = [^17.0.0 || ^18.0.0]
    OR
    package --> devDep = [react = ^17, react dom = ^17], peerDep = [^17.0.0 || ^18.0.0]

  • @AnilKushwaha-jn7kf
    @AnilKushwaha-jn7kf 2 года назад +2

    Hey MAX I wanna learn how to prepare yourself for any interview(IT) only from you, would you like to teach me and many of out there like me??
    And last I LOVE YOU AND MANUEL FOR Everything I got from YOU AND MANUEL.

  • @almostprofessionalrecords6651
    @almostprofessionalrecords6651 2 года назад

    Watching this video at night is painful due to white screen flashing between slides

  • @AndreSpecht
    @AndreSpecht 2 года назад

    Could you share the code for that first example? (The concurrency one). Thanks

    • @academind
      @academind  2 года назад +1

      You find a complete intro (incl. link to a GitHub repo with demo code) here: ruclips.net/video/lDukIAymutM/видео.html

  • @asemzk
    @asemzk 2 года назад

    It will be easier to digest if you compare these 2 lines:
    ```
    const root = document.getElementById("root");
    // React 17
    ReactDOM.render(, root);
    // React 18
    ReactDom.createRoot(root).render()
    ```

  • @spikesolid622
    @spikesolid622 2 года назад +1

    The reaction of next js if react completely add server-side rendering 😂

  • @awetogaabraham2350
    @awetogaabraham2350 Год назад

    how can I use material-ui/core icons in react 18

  • @devomor8731
    @devomor8731 2 года назад

    remix already has many of the features

  • @saikiranakula2167
    @saikiranakula2167 2 года назад

    react-redux is not installing in the 18th version.... How to overcome this situation??

  • @inrustwetrust25
    @inrustwetrust25 2 года назад +1

    So basically NEXT is laying foundation for core react features😂

  • @rosarioscarlata4178
    @rosarioscarlata4178 2 года назад

    i have problems with create-react-app with react v18

  • @_kpman
    @_kpman 2 года назад

    Thanks for sharing.
    Just want to feedback that the purple background color is a little uncomfortable for me when watching this video.

  • @01_lethanhan89
    @01_lethanhan89 2 года назад +1

    react version 18 has not updated redux toolkit

  • @ecomje
    @ecomje 2 года назад +1

    Heard concurrency and i am like wait is this asyn await... 😆
    Me thinking I can now create a component like `const App = async () => {}`

  • @abhim6380
    @abhim6380 2 года назад +2

    Will you update your udemy course?

    • @academind
      @academind  2 года назад +6

      If you watch the video, you’ll see that there basically is nothing I could update right now :)
      I’ll update a few videos from render() to createRoot()

    • @webcoder_vlogs
      @webcoder_vlogs 2 года назад

      @@academind please add one concurrency search part also

  • @darkogele
    @darkogele 2 года назад

    DO blazor tutorial.