Skip to content

Commit

Permalink
Remove static dom bail
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Feb 14, 2025
1 parent 86a7373 commit 924e669
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/diff/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 924e669

Please sign in to comment.