Skip to content

Commit 4db4093

Browse files
Update src/content/reference/rules/react-calls-components-and-hooks.md
1 parent 50c3ab0 commit 4db4093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/rules/react-calls-components-and-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function ChatInput() {
5858
}
5959
```
6060

61-
Hook 应该是不可变的,不应被动态改变。与其动态地变异一个 Hook,不如在创建时就定义一个包含所需功能的静态版本的 Hook。
61+
Hook 应该是不可变的,不应被动态改变。与其动态地改变 Hook,不如在创建时就定义一个包含所需功能的静态版本的 Hook。
6262

6363
```js {2,6}
6464
function ChatInput() {

0 commit comments

Comments
 (0)