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 3cde9c2 commit aab68eaCopy full SHA for aab68ea
src/diff/children.js
@@ -54,11 +54,11 @@ export function diffChildren(
54
refQueue
55
) {
56
if (
57
- parentDom instanceof DocumentFragment &&
58
newParentVNode.type === 'template' &&
59
- excessDomChildren?.length === 0
+ excessDomChildren?.length === 0 &&
+ parentDom instanceof DocumentFragment
60
61
- excessDomChildren = Array.from(parentDom.childNodes);
+ excessDomChildren = slice.call(parentDom.childNodes);
62
}
63
let i,
64
/** @type {VNode} */
0 commit comments