We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f00cf4 commit ba17792Copy full SHA for ba17792
packages/runtime-core/src/vnode.ts
@@ -510,6 +510,14 @@ function _createVNode(
510
if (children) {
511
normalizeChildren(cloned, children)
512
}
513
+ if (isBlockTreeEnabled > 0 && !isBlockNode && currentBlock) {
514
+ if (cloned.shapeFlag & ShapeFlags.COMPONENT) {
515
+ currentBlock[currentBlock.indexOf(type)] = cloned
516
+ } else {
517
+ currentBlock.push(cloned)
518
+ }
519
520
+ cloned.patchFlag |= PatchFlags.BAIL
521
return cloned
522
523
0 commit comments