Put in order · JavaScript and React course · Module 5: useEffect and Custom Hooks
When useEffect Runs
Arrange the React rendering steps with useEffect in order:
Items to put in order
- DOM update
- Screen painting (paint)
- Render (component invocation)
- useEffect execution
You can check the correct answer by solving this task in the CodeWorlds game.