What is the 'Suspense' component in Vue 3?
Updated May 4, 2026
Short answer
Suspense is a built-in component for orchestrating async dependencies like async setup or async components.
Deep explanation
Suspense provides two slots: #default and #fallback. It waits for all nested asynchronous dependencies (components with async setup() or top-level await) to resolve before showing the default content. Until then, it renders the fallback. It's essentially a way to handle loading states at a higher level in the component tree.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro