bluefiresound / Jamming

Code Academy Course
0 stars 0 forks source link

App component #2

Open ghost opened 6 years ago

ghost commented 6 years ago

https://github.com/bluefiresound/Jamming/blob/master/src/components/App/App.js#L34-L48

So this method doesn't actually add a track to the playlist?

Unless you're using a state management library like redux, it's considered a best practice to lift your state to your highest component. It looks like you're dispersing your state to several components, which makes it difficult to follow what your App actually does or should do.