Frontend Canteen
Published in

Frontend Canteen

createRoot vs ReactDOM.render: A Tiny Mistake in React18 Official Documentation

The official version of React18 has been released for a while. If you upgrade to v18 and still use ReactDOM.render to create an application, you will receive the following alarm:

To encourage us to upgrade to React18, they make a promise:

A key property of Concurrent React is that rendering is interruptible. When you first upgrade to React 18, before adding any concurrent features, updates are rendered the same as in previous versions of React — in a single

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
bytefish

bytefish

3.8K Followers

Explain complex concepts with simple English and visual diagrams.