Question · JavaScript and React course · Module 4: Context API and useReducer
React.memo
How can React.memo help optimize components using Context API?
Answer options
- React.memo doesn't work with Context API
- It automatically splits context into smaller parts
- It prevents re-rendering of components that don't use changed values from context
- It improves Provider performance
You can check the correct answer by solving this task in the CodeWorlds game.