State
Also written: useState
Data a React component remembers between renders. `useState` gives the current value and a function that changes it and re-renders the page.
Also written: useState
Data a React component remembers between renders. `useState` gives the current value and a function that changes it and re-renders the page.