Hey James, thanks for the course, I'm enjoying a lot.
For the Game page, we could fix the updateTime exhaustive-deps problem.
We can just declare it inside its useEffect or wrap into useCallback hook, just like the keyUpHandler.
reference: facebook/react#14920
Hey James, thanks for the course, I'm enjoying a lot.
For the Game page, we could fix the
updateTimeexhaustive-deps problem.We can just declare it inside its
useEffector wrap intouseCallbackhook, just like thekeyUpHandler.reference: facebook/react#14920