React 18 - florypaul/ReactJS GitHub Wiki

React 18 Is Out! Hi Everyone!

A few hours ago, a new major version of React was released: React 18.

Despite the major version bump (17 => 18), this version does not break everything, no worries!

What you learned still applies and you still write React code in the same way as you learned it in my courses. Therefore the React courses still are up-to-date and what you learned is 100% relevant.

There’s one tiny code change you must make if you want to update though. I cover this change + all new features introduced by React 18 as well as a general summary of the update in a dedicated video that I created: https://youtu.be/N0DhCV_-Qbg

You may also check out this article which includes further links & resources: https://academind.com/tutorials/react-18-update-guide

As a side-note: React Native projects don't even require any code changes right now. React 18 is not part of React Native yet (and even once it will be, no big changes will be required).

The biggest new feature introduced by React 18 is “Concurrency”. I explain the idea behind concurrency and two new React hooks introduced by React 18 in this video: https://youtu.be/lDukIAymutM (and this article: https://academind.com/tutorials/react-usetransition-vs-usedeferredvalue).

I hope these resources are helpful to you!