Promises & then/catch
What happens if one Promise in Promise.all() rejects?
Promise.all([
fetch('/api/users'),
fetch('/api/posts'),
fetch('/api/comments')
])
Promise.all([
fetch('/api/users'),
fetch('/api/posts'),
fetch('/api/comments')
])