Repository navigation
fix(vapor): fall through cloneVNode extras to the vapor slot content root - #15989
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 ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
@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
|
content root Copied from vuejs/core#15989
close #15881
In vapor ↔ vdom interop a vdom component rendering
slots.default()andcloning the child with
cloneVNode(child, extraProps)(Reka UISlot/asChild, used by Nuxt UI triggers) never got the extras onto the vaporcontent:
slots.default()returns one opaqueVaporSlotvnode, andcloneVaporSlotMetamerged the extras into the slot props.The extras are now the fallthrough attrs of the content's single root,
reusing vapor's component-root fallthrough
Summary by CodeRabbit
TransitionorKeepAlive.