Repository navigation
refactor(runtime-vapor): mount dynamic component vnodes through the interop and warn on invalid types - #15453
Conversation
…nterop and warn on invalid types
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe PR updates the VNode mounting interface, centralizes fallthrough ownership, adds dedicated dynamic VNode mounting with hydration support, skips unchanged updates, and validates unsupported dynamic component types. ChangesDynamic VNode interop
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to This change routes dynamic VNode mounting through the interop layer, preserves hydration updates, and warns for unsupported dynamic component types. No concrete merge-blocking risk remains. Sequence Diagram(s)sequenceDiagram
participant DynamicComponent
participant resolveValue
participant VdomMount
DynamicComponent->>resolveValue: resolve dynamic component value
resolveValue->>VdomMount: delegate interop VNode with isSingleRoot
VdomMount-->>DynamicComponent: mounted dynamic branch
sequenceDiagram
participant AppContext
participant mountDynamicVNode
participant mountVNode
participant Hydration
AppContext->>mountDynamicVNode: mount dynamic VNode
mountDynamicVNode->>mountVNode: mount VNode with fallthrough attrs
mountDynamicVNode->>Hydration: locate hydration node and fragment end
Hydration-->>mountDynamicVNode: hydration position
mountDynamicVNode-->>AppContext: mounted dynamic branch
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 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
|
Summary by CodeRabbit
Bug Fixes
Refactor