You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Teleport rendered before async dependencies resolve in Suspense component #8603
<Suspense>
<div>
<AsyncComp />
<div>This will only render once the AsyncComp is resolved</div>
<Teleport to="body">This is rendered immediately</Teleport>
</div>
</Suspense>
What is expected?
The Teleport is only rendered once the async dependencies of the Suspense resolve.
What is actually happening?
The Teleport is rendered immediately, before the async dependencies of the Suspense resolve.
Activity
[-]Teleport ignores Suspense[/-][+]Teleport rendered before async dependencies resolve in Suspense component[/+]fix(runtime-dom): defer teleport mount/update until suspense resolves (…