4. Notice
4
This is not the official documentation.
React Hooks are in alpha version.
5. Topics
5
- Motivation
- Proposal + RFC
- React Core
- What are hooks?
- Function x Class
components
- Hooks API
- When/How to use?
- When/How not to use?
- Should I refactor?
- Examples
- Opportunities
6. 6
Motivation
- It’s hard to reuse stateful logic between
components
- Complex components become hard to
understand
- Classes confuse both people and
machines