In this lesson, we'll use Promise.all
to get an array that contains the resolved values from multiple promises. Then we'll see how we can use Ramda to convert that array of values into a single object using zip
with fromPairs
. Then we'll refactor to use zipObj
.