When I started the use with React, a thing that bodereds me was the method useState().
So I understood that we have two types of storage when working with React,
- Memory storage and;
- Component storage,
And finally, with that vision, I managed to absorbed the knowledge about the use of useState() method.
After that, I built a gif to turn my words clear,
Summing up, you can change values without useState(), but what you're changing is the value in browser's memory, not in the React Component. To do that you have to use useState().
That's all folks!