-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
fix(Suspense): reset vnode.placeholder to null when removing placeholder #13928
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
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThe Suspense component’s registerDep logic was adjusted to nullify Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant C as Component (async dep)
participant S as Suspense.registerDep
participant V as VNode
participant D as DOM
Note over S,V: Handling completion of async dependency
C->>S: resolve dependency
S->>V: check V.placeholder
alt Placeholder exists
S->>V: set placeholder = null
S->>D: remove placeholder node
else No placeholder
S->>S: continue
end
S->>C: proceed with resolution
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Poem
Pre-merge checks and finishing touches❌ Failed checks (3 warnings)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
Comment |
Size ReportBundles
Usages
|
@vue/compiler-core
@vue/compiler-dom
@vue/compiler-sfc
@vue/compiler-ssr
@vue/reactivity
@vue/runtime-core
@vue/runtime-dom
@vue/server-renderer
@vue/shared
vue
@vue/compat
commit: |
bd5f7a5
to
588de48
Compare
fix #13732 (comment)
related PR #13560
Summary by CodeRabbit