React Hooks is an exciting new feature in the world of React.
Check out the blog post too!
https://hswolff.com/blog/react-hooks/
It finally makes it possible to add state to a Function Component...something I've been wanting for a long time and I'm so glad is finally here.
This guide will walk you through:
Why Hooks?
Should I be worried? (No!)
What are Hooks?
How do I use Hooks?
How do I use useState? useEffect?
Source code
https://gist.github.com/hswolff/e2660...
As Codesandbox
https://codesandbox.io/s/21vrnxyy3j
Follow me!
Twitter: / hswolff
Website: https://hswolff.com/