React Hooks TL;DR
If you want to know what React Hooks are about but don’t want to learn them yet, this is for you.
1 min readDec 14, 2018
- coming in the next minor release (between now and March 2019)
- hooks are 9 new functions you can
import {} from 'react'
- call hooks inside function components to add things like state or lifecycle methods
- you can extract hook calls from the function component to another function, making your own custom hooks (this is the best part, it enables better sepatation of concerns and reusability)
- hooks are optional and compatible with your current code
- there’s an alpha version available if you want to try them
- the official docs are very good, start there
Thanks for reading,