Closed nspilman closed 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
Done!
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