Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/dt-fe/weekly
Browse files Browse the repository at this point in the history
  • Loading branch information
ascoders committed Apr 8, 2019
2 parents 8f9ace0 + 40ab346 commit 806e2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 79.精读《React Hooks》.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function App() {
}
```

可以看到将细碎的代码片段结合成了一个完整的代码块,更维护
可以看到将细碎的代码片段结合成了一个完整的代码块,更易维护

现在介绍了 `useState` `useContext` `useEffect` `useRef` 等常用 hooks,更多可以查阅:[内置 Hooks](https://reactjs.org/docs/hooks-reference.html),相信不久的未来,这些 API 又会成为一套新的前端规范。

Expand Down

0 comments on commit 806e2e1

Please sign in to comment.