Comment implémenter certaines actions après SetState dans React Hooks

const [count, setCount] = useState(0);


setCount(previousCount => previousCount + 1);
Homeless Heron