This project contains code examples on React Hooks, and Markdown (.md) files as guides, and mainly focuses on the useEffect
Hook, functional component lifecycle, and the rules of Hooks.
All information here is gathered from the React website.
NOTES
-
One of the main motives here is to provide a supplement to the official documentation on React since the existing documentation (currently) on
useEffect
and on component lifecycle is unsatisfactory and even a little misleading. -
The project has few duplicates and requires little renovation, but at least for now, it is very intuitive and clear.
- Hooks at a Glance
- Using the Effect Hook
- Rules of Hooks
- Building Your Own Hooks
- Hooks API Reference
- Hooks FAQ
The recommended reading order:
guides\React Hooks.md
guides\useEffect.md
guides\Custom Hooks.md
guides\Other Hooks.md