Which class-based lifecycle method would be called at the same time as this effect Hook?
useEffect(() => {
// do things
}, []);
Which class-based lifecycle method would be called at the same time as this effect Hook?
useEffect(() => {
// do things
}, []);