Understanding useState in React
In the past, React components were more class based and had a built in state that could be set. Now components are functions in React so there needs to be a way to save the state of the component. Introducing useState! It allows you to save a particular state of...