About 23 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 combine …

  2. React Compiler – React 中文文档

    React Compiler 是一个处于 RC 阶段的新的编译器,我们将其开源以获取社区反馈。现在我们建议所有人都使用编译器。 最新的 RC 版本发布于 @rc 标签,每日实验版本发布于 @experimental 标签。

  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 use it.

  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 over the rollout …

  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 load Aborting …

  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 with …

  7. 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 at the top of a …

  8. target – React 中文文档

    target Configures the React version compatibility for the compiled output.

  9. 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.

  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 functions to compile (e.g., …