Redirecting you to https://betterprogramming.pub/why-dont-react-state-updates-reflect-immediately-9041c4377385