feat(runtime-vapor): support render block in createDynamicComponent#14213
feat(runtime-vapor): support render block in createDynamicComponent#14213edison1105 merged 1 commit 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 Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
Size ReportBundles
Usages
|
@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: |
There was a problem hiding this comment.
Pull request overview
This PR adds support for render blocks in createDynamicComponent by checking if the getter value is already a Block before attempting to resolve and create a component.
Key Changes:
- Imports
isBlockutility from block module - Adds conditional check to return the value directly if it's already a Block instead of processing it through
resolveDynamicComponentandcreateComponentWithFallback
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
e6a1a81 to
536f133
Compare
No description provided.