Understanding and using React State
What is State in React?
State: Data that is DYNAMIC in your component. It changes over time as users interact with the application.
To use, we must import a function from React called "useState". It is a React Hook. The setup looks as follows:
im...
romilse.hashnode.dev4 min read