JS destruking in React
const [state, setState] = useState();
useEffect(() => {
// do something
});
Puzzled Puffin
const [state, setState] = useState();
useEffect(() => {
// do something
});