how to use hooks react

JavaScript
const App = () => {
const [students , setStudents] = useState([]);
  
  return (
// put in the jsx code here
  )
}
Source

Also in JavaScript: