Skip to content

Nims93/React-Music-Player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Music Player

A website that plays selected music files made with create-react-app.

What I Learned

My first react project after the standard Tic-Tac-Toe and To-Do List is did following the official React and MDN tutorials. I learned alot about state management after I had too many useState declarations which promped me to learn and implement the useReducer hook.

The app originally use the useForwardRef and useImperativehandle to cover up my poorly thought out initial approach. I instead just lifted the app state again one level and no longer needed to use it. I learned how state and props affect a components lifecycle and how to minimise component rerenders and maximise perfomance when need be.

Potential Future Features

  • Pulling songs from some API instead of hardcoding the songs to the app.

Deployment

This project was deployed with Netlify