Seeking Project Feedback - Drum Machine

Hey everyone! I was looking to see if anyone could please give me any feedback regarding this project? Thank you very much in advance!

Some questions that came to mind while making the project(feel free to answer):

  1. I used React’s useState hook and context api for state management. Do you think the state could have been managed in a better/cleaner way?

  2. Since regular JS event listeners weren’t working for me, I used an event listener library. Is there an easier way to create event listeners in react?