I've created useAudio hook which allows users to deal with music on the website. Hook automatically create an Audio element and manage its state. Hook returns an array with 3 elements: state, controls, and audioRef
It would be nice if someone else going to test this to be sure everything works correctly :)
Description
I've created useAudio hook which allows users to deal with music on the website. Hook automatically create an Audio element and manage its state. Hook returns an array with 3 elements: state, controls, and audioRef
It would be nice if someone else going to test this to be sure everything works correctly :)
Related Issue
198
Motivation and Context
198
How Has This Been Tested?
Docs + tests
Screenshots (if appropriate):