Check out the following references if you want to learn more:
- Hooks introduction: https://reactjs.org/docs/hooks-intro.html
- Video introduction by Kathryn Middleton: https://developers.facebook.com/videos/2019/intro-to-react-hooks
- Introductory guide https://medium.com/@dan_abramov/making-sense-of-react-hooks-fdbde8803889
- Reference: https://reactjs.org/docs/hooks-reference.html
- Rules: https://reactjs.org/docs/hooks-rules.html
- Official FAQ: https://reactjs.org/docs/hooks-faq.html
- Implementing lifecycle hooks using React hooks: https://dev.to/elanandkumar/react-component-lifecycle-with-hook-6lo
- Design patterns: https://itnext.io/essential-react-hooks-design-patterns-a04309cc0404
- Deep dive: https://www.netlify.com/blog/2019/03/11/deep-dive-how-do-react-hooks-really-work
- Gotchas and how to avoid them: https://medium.com/@pshrmn/react-hook-gotchas-e6ca52f49328
- Creating a custom hook: https://scotch.io/tutorials/create-a-custom-usefetch-react-hook
- Effect hook: