fix(runtime-core): openBlock() should not be tracked when block tracking is disabled
This commit is contained in:
@@ -235,7 +235,7 @@ export function createBlock(
|
||||
closeBlock()
|
||||
// a block is always going to be patched, so track it as a child of its
|
||||
// parent block
|
||||
if (currentBlock) {
|
||||
if (shouldTrack > 0 && currentBlock) {
|
||||
currentBlock.push(vnode)
|
||||
}
|
||||
return vnode
|
||||
|
||||
Reference in New Issue
Block a user