Bagaimana menerapkan tindakan tertentu setelah setState di react hooks

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


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