reactjs(useState Hook)
The useState Hook returns the state value and the setter function that will allow us to modify the state value returned.
Below is the syntax for useState Hook:
const [state, setState] = useState(initialState); // this is a Javascript destructuring ha...
shivrajdeopa.hashnode.dev2 min read