Svelte · Senior · Question 61 of 75

Why would you return a promise from a server load instead of awaiting everything?

Explanation

Top-level awaited data blocks rendering; unawaited promises are serialized and resolved on the client as they arrive.

Further reading

Problem with a question

Svelte · Senior · question 61

Test yourself

Take the Svelte · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz