Learn what React Compiler does and how it automatically optimizes your React application by handling memoization for you, eliminating the need for manual useMemo, useCallback, and React.memo.
Get started with installing React Compiler and learn how to configure it with your build tools.
Learn strategies for gradually adopting React Compiler in your existing codebase if you’re not ready to enable it everywhere yet.
When things don’t work as expected, use our debugging guide to understand the difference between compiler errors and runtime issues, identify common breaking patterns, and follow a systematic debugging workflow.
For detailed configuration options and API reference:
In addition to these docs, we recommend checking the React Compiler Working Group for additional information and discussion about the compiler.
© 2013–present Facebook Inc.
Licensed under the Creative Commons Attribution 4.0 International Public License.
https://react.dev/learn/react-compiler