React Compiler
React Docs · نسخهٔ 46a54e059272 · CC BY 4.0 برای مستندات
Introduction {/*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 {/*installation*/}
Get started with installing React Compiler and learn how to configure it with your build tools.
Incremental Adoption {/*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 {/*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 {/*configuration-and-reference*/}
For detailed configuration options and API reference:
- Configuration Options - All compiler configuration options including React version compatibility
- Directives - Function-level compilation control
- Compiling Libraries - Shipping pre-compiled libraries
Additional resources {/*additional-resources*/}
In addition to these docs, we recommend checking the React Compiler Working Group for additional information and discussion about the compiler.