Skip to content

Commit e5db584

Browse files
translate: update the word 'state'
Co-authored-by: Xavi Lee <[email protected]>
1 parent 1529291 commit e5db584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ title: "内置 React Hook"
1212

1313
## 状态 Hook {/*state-hooks*/}
1414

15-
*State* 让一个组件 ["记住" 像用户输入的信息](/learn/state-a-components-memory),比如,一个表单组件可以使用状态来存储输入值,而一个图片库组件可以使用状态来存储选定的图片索引
15+
*state* 让一个组件 [“记住”像用户输入的信息](/learn/state-a-components-memory),比如,一个表单组件可以使用 state 来存储输入值,而一个图片库组件可以使用 state 来存储选定的图片索引
1616

1717
要给一个组件添加状态,使用这些 Hook 中的一个:
1818

0 commit comments

Comments
 (0)