Hook

1. Hook là gì

2. Tại sao cần hook ?

  • Hard to reuse stateful logic between components

  • Complex components become hard to understand

  • Classes confuse both people and machines

3. Others Hooks

4. Hook practices

  • use Context

  • useFetch

https://jsonplaceholder.typicode.com/todos

Last updated

Was this helpful?