fix(runtime-vapor): isolate slotProps per fragment in v-for slots#14406
fix(runtime-vapor): isolate slotProps per fragment in v-for slots#14406edison1105 merged 4 commits intominorfrom
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
@vue/compiler-core
@vue/compiler-dom
@vue/compiler-sfc
@vue/compiler-ssr
@vue/compiler-vapor
@vue/reactivity
@vue/runtime-core
@vue/runtime-dom
@vue/runtime-vapor
@vue/server-renderer
@vue/shared
vue
@vue/compat
commit: |
Size ReportBundles
Usages
|
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
packages/runtime-vapor/src/apiCreateFor.ts (1)
519-535:⚠️ Potential issue | 🟠 MajorUpdate
activeKeywhen applying deferred selector changes.
activeKeystays at its initial value, soregister()/deregister()can keep treating the old key as active and stale opers may continue firing after list changes. SetactiveKey = newValueinside the post-flush callback before resolvingactiveOpers.🛠️ Proposed fix
queuePostFlushCb(() => { + activeKey = newValue activeOpers = operMap.get(newValue) if (activeOpers !== undefined) { for (const oper of activeOpers) { oper() } } })
close #14397
Summary by CodeRabbit