From 924e669721660955741b32de09f58940e6526041 Mon Sep 17 00:00:00 2001 From: jdecroock Date: Fri, 14 Feb 2025 16:02:09 +0100 Subject: [PATCH] Remove static dom bail --- src/diff/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/diff/index.js b/src/diff/index.js index 808b7f9d6a..363e1a138d 100644 --- a/src/diff/index.js +++ b/src/diff/index.js @@ -348,12 +348,6 @@ export function diff( } options._catchError(e, newVNode, oldVNode); } - } else if ( - excessDomChildren == null && - newVNode._original == oldVNode._original - ) { - newVNode._children = oldVNode._children; - newVNode._dom = oldVNode._dom; } else { oldDom = newVNode._dom = diffElementNodes( oldVNode._dom,