Answer the question
In order to leave comments, you need to log in
How to competently write a music player in React?
Hey!
I want to practice React! I decided to take up writing a mini music player. I really want to implement everything very, very competently. I googled a bit, I managed to find several packages for React, in which the player itself is already implemented.
Question: What do you think is better, reinventing the wheel or using a ready-made one?
For some reason it seems to me that it would be great to INVENT the player.
I can roughly imagine how to do it:
Simple knowledge will not be enough ... Give links where I can read about the competent implementation of the music player. I don't know what keywords I can pick up for this.
I would like to read your advice and your opinion about this. Thanks a lot!<audio src="" controls></audio>
Answer the question
In order to leave comments, you need to log in
Yes, it’s better to invent for learning, in fact, all you need is the audio tag and its API (.play() pause() etc.) If you want to go deeper, you can experiment with Web_Audio_API
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question