Dale Jefferson

JavaScript Async/Await Promise All Array Destructuring

I think you will agree with me when I say working with asynchronous code is an important part of modern app development. Using new JavaScript syntax you can drastically improve the readability and performance of your code. In this article, I will show you how to use Promise.all() along with array destructuring.

Let’s pretend you are building a book app and you want to fetch a book with its author and ratings.