nspilman / web-synth

Playing around with React and the web-audio-api
0 stars 0 forks source link

As a developer I should have a logical layer between the UI controller inputs and the AudioContextWrapper #16

Closed nspilman closed 3 years ago

nspilman commented 3 years ago

https://dev.to/filippofilip95/i-replaced-usestate-hook-with-custom-one-3dn1

The idea is to build a useState wrapper custom hook for our KeyboardContext, so that ever time we trigger a state change, the custom hook will be able to fire off input calls to the AudioContextWrapper

nspilman commented 3 years ago

Done!