From 52754dc41d852df0d5773be1617b1161c1a0b7d2 Mon Sep 17 00:00:00 2001 From: daiwei Date: Thu, 3 Dec 2020 21:15:26 +0800 Subject: [PATCH 1/3] fix(runtime-core): skip patchBlockChildren if n1.dynamicChildren is null --- packages/runtime-core/src/renderer.ts | 3 +- packages/vue/examples/classic/commits.html | 91 +++++++--------------- 2 files changed, 30 insertions(+), 64 deletions(-) diff --git a/packages/runtime-core/src/renderer.ts b/packages/runtime-core/src/renderer.ts index 646631507d4..d371acaa792 100644 --- a/packages/runtime-core/src/renderer.ts +++ b/packages/runtime-core/src/renderer.ts @@ -1139,7 +1139,8 @@ function baseCreateRenderer( if ( patchFlag > 0 && patchFlag & PatchFlags.STABLE_FRAGMENT && - dynamicChildren + dynamicChildren && + n1.dynamicChildren ) { // a stable fragment (template root or