Svelte · Senior · Question 15 of 75

Do independent await expressions in markup run sequentially?

<p>{await one(x)}</p>
<p>{await two(y)}</p>

Explanation

Sequential awaits in <script> or inside a function behave like normal JavaScript, so be careful not to create waterfalls there.

Further reading

Problem with a question

Svelte · Senior · question 15

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