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 6d83876 commit c0abb28Copy full SHA for c0abb28
src/diff/children.js
@@ -130,15 +130,6 @@ export function diffChildren(
130
oldDom = insert(childVNode, oldDom, parentDom);
131
} else if (typeof childVNode.type == 'function' && result !== UNDEFINED) {
132
oldDom = result;
133
- let toResolve = 0;
134
- while ((oldDom && oldDom.nodeType == 8) || toResolve > 0) {
135
- if (oldDom && oldDom.nodeType == 8 && oldDom.data == '$s') {
136
- toResolve++;
137
- } else if (oldDom && oldDom.nodeType == 8 && oldDom.data == '/$s') {
138
- toResolve--;
139
- }
140
- oldDom = oldDom.nextSibling;
141
142
} else if (newDom) {
143
oldDom = newDom.nextSibling;
144
}
0 commit comments