About 21 results
Open links in new tab
  1. React 官方中文文档

    React is the library for web and native user interfaces. Build user interfaces out of individual pieces called components written in JavaScript. React is designed to let you seamlessly …

  2. React Compiler RC – React 中文文档

    Apr 21, 2025 · React Compiler is a build-time tool that optimizes your React app through automatic memoization. Last year, we published React Compiler’s first beta and received lots …

  3. Introduction – React 中文文档

    React Compiler is a new build-time tool that automatically optimizes your React app. It works with plain JavaScript, and understands the Rules of React, so you don’t need to rewrite any code to …

  4. Incremental Adoption – React 中文文档

    Why Incremental Adoption? React Compiler is designed to optimize your entire codebase automatically, but you don’t have to adopt it all at once. Incremental adoption gives you control …

  5. prerenderToNodeStream – React 中文文档

    Reference prerenderToNodeStream(reactNode, options?) Usage Rendering a React tree to a stream of static HTML Rendering a React tree to a string of static HTML Waiting for all data to …

  6. Compiling Libraries – React 中文文档

    Why Ship Compiled Code? Setting Up Compilation Backwards Compatibility 1. Install the runtime package 2. Configure the target version Testing Strategy Troubleshooting Library doesn’t work …

  7. Debugging and Troubleshooting – React 中文文档

    This guide helps you identify and fix issues when using React Compiler. Learn how to debug compilation problems and resolve common issues.

  8. gating – React 中文文档

    The gating option enables conditional compilation, allowing you to control when optimized code is used at runtime.

  9. Directives – React 中文文档

    Overview React Compiler directives provide fine-grained control over which functions are optimized by the compiler. They are string literals placed at the beginning of a function body or …

  10. Configuration – React 中文文档

    Compilation Control These options control what the compiler optimizes and how it selects components and hooks to compile. compilationMode controls the strategy for selecting …