Closed bjornstar closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/pmndrs/racing-game/97J2zVPVXt8LF3a2AcwRmQF7moN2
✅ Preview: https://racing-game-git-fork-bjornstar-move-timers-pmndrs.vercel.app
The data doesn't change frequently and we can do it with 2 properties instead of 4.
Having the setTimeout as an effect of the component also means it can clean itself up.