Skip to content

fix(suspense): In nested slots suspense should return to pending state #7151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 32 commits into
base: main
Choose a base branch
from

Conversation

baiwusanyu-c
Copy link
Member

close: #5247

@netlify
Copy link

netlify bot commented Mar 20, 2023

Deploy Preview for vue-sfc-playground failed.

Name Link
🔨 Latest commit 0ac86d2
🔍 Latest deploy log https://app.netlify.com/sites/vue-sfc-playground/deploys/6417c43547cad9000875fbb9

@vercel
Copy link

vercel bot commented Apr 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
sfc-playground ⬜️ Ignored (Inspect) Apr 6, 2023 0:44am

# Conflicts:
#	packages/runtime-core/__tests__/components/Suspense.spec.ts
#	packages/runtime-core/src/components/Suspense.ts
Copy link

github-actions bot commented Nov 13, 2023

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 89.5 kB (+28 B) 34 kB (+11 B) 30.7 kB (+7 B)
vue.global.prod.js 147 kB (+28 B) 53.3 kB (+9 B) 47.6 kB (-2 B)

Usages

Name Size Gzip Brotli
createApp 49.8 kB 19.5 kB 17.8 kB
createSSRApp 53.1 kB 20.8 kB 19 kB
defineCustomElement 52.1 kB 20.3 kB 18.5 kB
overall 63.3 kB (+28 B) 24.5 kB (+10 B) 22.3 kB (+3 B)

baiwusanyu-c and others added 2 commits January 3, 2024 11:35
# Conflicts:
#	packages/runtime-core/__tests__/components/Suspense.spec.ts
#	packages/runtime-core/src/components/Suspense.ts
@haoqunjiang haoqunjiang added scope: suspense ready for review This PR requires more reviews labels May 29, 2024

id.value = '2'
await nextTick()
await Promise.all(deps)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
await Promise.all(deps)
await Promise.all(deps)
expect(serializeInner(root)).toBe(`<div id="1">async</div>`)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review This PR requires more reviews scope: suspense
Projects
Status: Needs Review
Development

Successfully merging this pull request may close these issues.

Suspense: Incorrect update Behavior if default root node is slotted
3 participants