You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/reference/react-compiler/configuration.md
+30-30Lines changed: 30 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
---
2
-
title: Configuration
2
+
title: 配置
3
3
---
4
4
5
5
<Intro>
6
6
7
-
This page lists all configuration options available in React Compiler.
7
+
本页列出 React 编译器的所有可用配置项。
8
8
9
9
</Intro>
10
10
11
11
<Note>
12
12
13
-
For most apps, the default options should work out of the box. If you have a special need, you can use these advanced options.
13
+
对于大多数应用,默认选项开箱即用即可满足需求。如果你有特殊需求,你可以使用这些高级选项。
14
14
15
15
</Note>
16
16
@@ -29,55 +29,55 @@ module.exports = {
29
29
30
30
---
31
31
32
-
## Compilation Control {/*compilation-control*/}
32
+
## 编译控制 {/*compilation-control*/}
33
33
34
-
These options control *what* the compiler optimizes and *how* it selects components and hooks to compile.
34
+
这些选项用于控制编译器优化的 **内容**,以及它 **如何** 选择要编译的组件和 hook。
35
35
36
-
*[`compilationMode`](/reference/react-compiler/compilationMode)controls the strategy for selecting functions to compile (e.g., all functions, only annotated ones, or intelligent detection).
0 commit comments