Great example of the benefits of async/await
Great example of the benefits of async/await. Love how it eliminated the nesting in the chained promises version.
Much easier to read. π
#javascript

That said, this problem would go away altogether with a better designed api. Iβd like to make one api call thatβs orchestrated on the server instead of chaining many calls together.
A single atomic mutation is typically preferable.