Project feedback Drum Machine


I finished the Drum Machine project and am looking to get some feedback. Links:

In the end I also refactored my app to use Context API. This was done purely for practice reasons, if anyone wants to see my code before the Context API implementation here is the commit, where you can see the changes.

I ended up using a ref to make this app work as intended, even though I know using refs too much isn’t recommended. I also had some problems with getting the buttons to change color not only on mouse over, but also when you press the appropriate key to play a sound. I ended up achieving the intended effect by using a setTimeout function, but I don’t think this is a particularly good solution (source code of DrumPad.js component, where you can see this).

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.