We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b94dc commit 9cf7525Copy full SHA for 9cf7525
packages/runtime-core/src/renderer.ts
@@ -848,7 +848,11 @@ function baseCreateRenderer(
848
}
849
if (parentComponent) {
850
let subTree = parentComponent.subTree
851
- if (__DEV__ && subTree.patchFlag & PatchFlags.DEV_ROOT_FRAGMENT) {
+ if (
852
+ __DEV__ &&
853
+ subTree.patchFlag > 0 &&
854
+ subTree.patchFlag & PatchFlags.DEV_ROOT_FRAGMENT
855
+ ) {
856
subTree =
857
filterSingleRoot(subTree.children as VNodeArrayChildren) || subTree
858
0 commit comments