when usestate will be called in reactjs code example
Example: how to use hooks react
const App = () => {
const [students , setStudents] = useState([]);
return (
// put in the jsx code here
)
}
const App = () => {
const [students , setStudents] = useState([]);
return (
// put in the jsx code here
)
}