1

If we're not concerned with browser compatibility issues.

Is there ever a situation where you would opt for .then() chaining rather then an async/await implementation?

Andrew Kim
  • 3,145
  • 4
  • 22
  • 42
  • When you want to [use the second argument to `then`](https://stackoverflow.com/q/24662289/1048572). It's really [hard to reproduce with `async`/`await`](https://stackoverflow.com/a/44664037/1048572). – Bergi Aug 06 '18 at 14:48
  • `async`/`await` is just syntax sugar. There is nothing you can do with async await that you can't do with promises and vice versa. – Liam Aug 06 '18 at 14:49
  • How would you achieve `Promise.all`? – Amit Aug 07 '18 at 13:27

0 Answers0