Skip to content

Commit 8b8a39d

Browse files
committed
docs(cn): translate React Compiler
1 parent 4816173 commit 8b8a39d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/reference/react/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ React-dom 仅支持在 web 应用程序中使用(在浏览器 DOM 环境中运
3232

3333
## React Compiler {/*react-compiler*/}
3434

35-
The React Compiler is a build-time optimization tool that automatically memoizes your React components and values:
35+
React Compiler 是一个构建时优化工具,可以自动为你的 React 组件和数值添加记忆优化(memoization):
3636

37-
* [Configuration](/reference/react-compiler/configuration) - Configuration options for React Compiler.
38-
* [Directives](/reference/react-compiler/directives) - Function-level directives to control compilation.
39-
* [Compiling Libraries](/reference/react-compiler/compiling-libraries) - Guide for shipping pre-compiled library code.
37+
* [配置](/reference/react-compiler/configuration) —— React Compiler 的配置选项。
38+
* [指令](/reference/react-compiler/directives) —— 用于控制编译的函数级指令。
39+
* [编译库](/reference/react-compiler/compiling-libraries) —— 发布预编译库代码的指南。
4040

4141
## Rules of React {/*rules-of-react*/}
4242

0 commit comments

Comments
 (0)