ReactJS
CtrlK
  • Roadmap
  • JavaScript
    • Function vs Import vs Export
    • Call back
  • Fundemental Topics
    • Create react app
    • JSX
    • Page 1
    • Components
    • Props and state
    • Conditional Rendering
    • Hook
    • Callback
  • Web
    • Giới thiệu môn học
    • Week 2
    • Week 3 - Function components
    • Week4
  • Học Tập
    • Giới thiệu về React
    • Buổi 2
    • Buổi 3
    • ASP .Net Core Web Application
  • Hook
    • Use State
    • Use Effect
    • Use Context
    • Custom hook
  • React Axios
  • React Router
  • React Redux
  • Material UI
  • Forms
  • React Table
  • Flex
  • Composition and Inheritance
  • Statefull and stateless
  • Design UI and Others
    • Color
    • SCSS/ SASS/ CSS
Powered by GitBook
On this page
  • 1. Hook là gì
  • 2. Tại sao cần hook ?
  • 3. Others Hooks
  • 4. Hook practices

Was this helpful?

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

LogoGitHub - machadop1407/react-hooks-courseGitHub
LogoGitHub - john-smilga/react-advanced-2020GitHub

4. Hook practices

  • use Context

  • useFetch

https://jsonplaceholder.typicode.com/todos

PreviousASP .Net Core Web ApplicationNextUse State

Last updated 3 years ago

Was this helpful?