Vue · Middle · Question 59 of 75

What does <Suspense> do with a component that has a top-level await in <script setup>?

Explanation

Without a <Suspense> ancestor such a component won't render. <Suspense> is still marked experimental.

Further reading

Problem with a question

Vue · Middle · question 59

Test yourself

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

Take this quiz