First I built a music player in Vanilla JS and passed in an array tracks to be listened. It worked roughly. But maintaining the current tracks, current playlist, player timeline and all was not so smooth/easier in Vanilla JS. So i migrated the app in React JS framework, it was breezy easy to build major functionalities now.