REACT HOOKS: State Hooks
State Hooks
State lets a component “remember” information like user input. For example, a form component can use state to store the input value, while an image gallery component can use state to store the selected image index.
To add state to a compo...
devjobalia.hashnode.dev5 min read