Put in order · JavaScript and React course · Module 10: React Ecosystem and Future
Concurrent React Implementation
Order the steps of adopting concurrent features (Concurrent React) in an existing app:
Items to put in order
- Measuring the effect in the React DevTools Profiler
- Replacing ReactDOM.render with createRoot
- Automatic batching of updates works right after switching to createRoot
- Updating react and react-dom to version 18 or newer
- Marking slow updates as transitions (useTransition)
- Adding Suspense boundaries with a fallback around slow sections
You can check the correct answer by solving this task in the CodeWorlds game.