How to Use the UseState Hook?
The Anatomy of the useState Hook
To use the useState hook, you need to first know a few things.
You must import it from the React library.
You must invoke it inside React component.
const [state, setState] = useState(initialValue)
Not sure if you'l...
jatinsingh.hashnode.dev2 min read