stefem / jammming

CodeAcademy project
0 stars 0 forks source link

Saving playlists to account #6

Open ghost opened 6 years ago

ghost commented 6 years ago

https://github.com/stefem/jammming/blob/master/src/components/App/App.js#L48-L51

Nice job using .map() and arrow functions' implicit return to get all of the track URIs in a single, concise line of code 👍

You should use .then() to reset the Playlist's state after the request is resolved. The user will probably not have any further use for the same playlist name and tracks after the playlist has been saved.