Async/await is awesome, but don’t abandon Promises. The reason why this works deserves its own article, but here is an awesome explainer. For the die-hard async / await fans out there, I learned (literally on the day of writing this story) that the following snippet actually does the same thing.

4m read time From medium.com
Post cover image
4 Comments

Sort: