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 ...
Markdown supported · ⌘↵ to post
No responses yet.