Skip to content

Commit 7a265ad

Browse files
hijiangtaobailnl
andauthored
Update content/docs/hooks-custom.md
Co-Authored-By: bailnl <[email protected]>
1 parent 9adbae7 commit 7a265ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/hooks-custom.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ next: hooks-reference.html
66
prev: hooks-rules.html
77
---
88

9-
*Hooks* 是 React 16.8 的新增特性,允许你不在编写 class 组件的情况下使用 state 及 React 其他特性。
9+
*Hooks* 是 React 16.8 的新增特性,允许你在不编写 class 组件的情况下使用 state 及 React 其他特性。
1010

1111
通过自定义 Hooks,可以将组件逻辑提取到可重用的函数中。
1212

0 commit comments

Comments
 (0)