Explaining React useState to a 4 years old.
What is useState ?
useState is a React hook that allows us to access state in a functional component. In React versions less than 16.7, if we wanted to create a component that needed state we have to do that using the class method, now with the help ...
ot.hashnode.dev4 min read