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 2d76a3b commit b864138Copy full SHA for b864138
src/diff/children.js
@@ -166,7 +166,7 @@ function constructNewChildrenArray(
166
167
let skew = 0;
168
169
- newParentVNode._children = [];
+ newParentVNode._children = new Array(newChildrenLength);
170
for (i = 0; i < newChildrenLength; i++) {
171
// @ts-expect-error We are reusing the childVNode variable to hold both the
172
// pre and post normalized childVNode
0 commit comments