Refactor Keyboard Logic
Opened this issue · 0 comments
mastapegs commented
This logic is pretty messy. We could refactor it in several ways:
- Use
Array.prototype.map
instead of.forEach
- Refactor IIFE
js-marathon-web-audio-api/components/Keyboard/Keyboard.tsx
Lines 23 to 32 in b1b040a