What is "react-hooks"
The introduction of Hooks was performed without Breaking changes. You can try using them on some components without rewriting any existing code, but you don’t need to learn or use Hooks now if you don’t want to, as there are no plans to remove React classes.
The React development team created the Hooks having the following points as main motivations:
- It’s hard to reuse logic stateful (components with status) between components
- Complex components become difficult to understand
- Classes confuse both people and machines
Related Links:
- Introduction to the Hooks(EN)
- Hooks - FAQ(EN)