Skip to content

Commit 333c256

Browse files
authored
Update src/content/reference/react-compiler/compilationMode.md
1 parent edbea44 commit 333c256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react-compiler/compilationMode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ title: compilationMode
4242

4343
- **`'annotation'`**:仅编译使用 `"use memo"` 指示符明确标记的函数。是增量采用的理想选择。
4444

45-
- **`'syntax'`**:仅编译使用 Flow 的 [component](https://flow.org/en/docs/react/component-syntax/) and [hook](https://flow.org/en/docs/react/hook-syntax/) 语法的组件和 Hook。
45+
- **`'syntax'`**:仅编译使用 Flow 的 [component](https://flow.org/en/docs/react/component-syntax/) [hook](https://flow.org/en/docs/react/hook-syntax/) 语法的组件和 Hook。
4646

4747
- **`'all'`**:编译所有顶层函数。不推荐,因为它可能会编译非 React 函数。
4848

0 commit comments

Comments
 (0)