Loading problem…
Predict the state value after one click.
function Counter() { const [count, setCount] = React.useState(0) const handleClick = () => { setCount(count + 1) setCount(count + 1) setCount(count + 1) } return <button onClick={handleClick}>{count}</button> }