Question · JavaScript and React course · Module 10: React Ecosystem and Future
React Compiler - What It Does Automatically
What does React Compiler do automatically during compilation?
Answer options
- Converts functional components to class components for better performance
- It memoizes components, values and functions automatically - as if it added React.memo, useMemo and useCallback where needed
- Moves components to Web Workers for parallel rendering
- Compiles JSX into native machine code
You can check the correct answer by solving this task in the CodeWorlds game.