React state and useState() hook
In React, every change in the DOM is considered as a different state; for handling those state changes, there is a hook called useState.
What is State
A way for React to remember saved values from within a component. This is similar to declaring vari...
saran-ka-gyaan.hashnode.dev4 min read