React Hooks from Scratch - Part 1 (useState Hook)
Hooks allow you to use state in your functional component. They are introduced in React 16.8.0 as a new feature.
Few benefits of Hooks:
Isolate stateful logic in a function and makes it easier to test
Lets you reuse stateful components within differ...
fullstackweb.hashnode.dev6 min read