Skip to content

React Compiler ​

Introduction ​

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.

Installation ​

Get started with installing React Compiler and learn how to configure it with your build tools.

Incremental Adoption ​

Learn strategies for gradually adopting React Compiler in your existing codebase if you're not ready to enable it everywhere yet.

Debugging and Troubleshooting ​

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.

Configuration and Reference ​

For detailed configuration options and API reference:

Additional resources ​

In addition to these docs, we recommend checking the React Compiler Working Group for additional information and discussion about the compiler.

Documentation licensed under CC BY 4.0. Code examples licensed under MIT.