Lunakepio / Mario-Kart-3.js

https://lunakepio.github.io/Mario-Kart-3.js/
MIT License
4.3k stars 950 forks source link

Update controller inputs with useRef #41

Closed savaughn closed 5 months ago

savaughn commented 5 months ago

I was browsing your repo looking at the useGamepad implementation. I saw that the button inputs were being stringified and a mis-use of the useEffect. It's probably early to look at optimizations, but I thought I'd submit this for review.

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mario-kart-3-js ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2024 0:26am