fix(reactivity): prevent orphan effect when created in a stopped scope#14778
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughReactiveEffect and EffectScope constructors are tightened to avoid attaching effects to inactive scopes: effects created when a parent scope is inactive are marked inactive. EffectScope also suppresses run-time warnings for scopes created under inactive parents. Tests for Suspense async setup with top-level await were added. ChangesEffect Scope Lifecycle and Async Setup Bug Fix
Sequence Diagram(s)(Skipped) Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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: |
|
/ecosystem-ci run |
|
📝 Ran ecosystem CI: Open
|
close #14777
Summary by CodeRabbit
Bug Fixes
Tests