File tree 1 file changed +1
-8
lines changed
packages/runtime-core/src
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -796,7 +796,6 @@ function baseCreateRenderer(
796
796
) => {
797
797
const el = ( n2 . el = n1 . el ! )
798
798
let { patchFlag, dynamicChildren, dirs } = n2
799
- let { dynamicChildren : prevDynamicChildren } = n1
800
799
// #1426 take the old vnode's patch flag into account since user may clone a
801
800
// compiler-generated vnode, which de-opts to FULL_PROPS
802
801
patchFlag |= n1 . patchFlag & PatchFlags . FULL_PROPS
@@ -814,13 +813,7 @@ function baseCreateRenderer(
814
813
}
815
814
parentComponent && toggleRecurse ( parentComponent , true )
816
815
817
- if (
818
- ( __DEV__ && isHmrUpdating ) ||
819
- ( dynamicChildren &&
820
- prevDynamicChildren &&
821
- dynamicChildren . length === 0 &&
822
- prevDynamicChildren . length === 0 )
823
- ) {
816
+ if ( __DEV__ && isHmrUpdating ) {
824
817
// HMR updated, force full diff
825
818
patchFlag = 0
826
819
optimized = false
You can’t perform that action at this time.
0 commit comments