QuizIntermediate
State Updates Are Asynchronous
Learn why state doesn't update immediately after calling the setter.
After calling setCount(count + 1), why does reading `count` on the next line still show the old value?
Learn why state doesn't update immediately after calling the setter.
After calling setCount(count + 1), why does reading `count` on the next line still show the old value?