stefem / jammming

CodeAcademy project
0 stars 0 forks source link

Spotify module #2

Open ghost opened 6 years ago

ghost commented 6 years ago

https://github.com/stefem/jammming/blob/master/src/util/Spotify.js

You've demonstrated a solid understanding of Promise-based APIs like fetch and have very strategically used ES6 template literals throughout your module to keep your code readable and maintainable 👍

As a challenge to yourself, consider rewriting this module using async/await. You may find that you can shrink the size of your module and write more expressive and intuitive code.

If you don't quite remember how async functions work, you can always revisit that material in our JavaScript: Requests lesson.