What does this effect log on the initial mount and after the button is clicked once (count goes 0 then 1)?
const [count, setCount] = useState(0);
useEffect(() => {
console.log(count);
}, [count]);
return <button onClick={() => setCount(c => c + 1)}>+</button>;