@lipe11
Posted
Hi, I can leave some thoughts on async/await vs promises. I wondered the same thing when I was learning it.
Both are equivalent, async/await is just syntactic sugar over promises. At the end I think is which one you think reads better.
For simple calls, the promise/then syntax i think reads a little better, but in a more complex scenario with multiple related calls, thats where the async/await syntax shines.
Fireship has an excellent video on the subject.
Marked as helpful