feat(runtime-vapor): v-html and v-text work with component#13496
feat(runtime-vapor): v-html and v-text work with component#13496edison1105 merged 8 commits intominorfrom
Conversation
✅ Deploy Preview for vapor-repl ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
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
|
396fa2a to
da45770
Compare
| } else if (isVaporComponent(block)) { | ||
| setTextToBlock(block.block, value) | ||
| } else if (isArray(block)) { | ||
| if (__DEV__) { |
There was a problem hiding this comment.
Is there a scenario where this could be a single-element array i.e. in which setTextToBlock(block[0], value) could be used? Likewise with setHtmlToBlock
There was a problem hiding this comment.
The behavior here is aligned with vdom's behavior: as long as it's an array, a warning is issued.
see playground
Uh oh!
There was an error while loading. Please reload this page.