tiny code tweak in ReactMultiChild
Bartosz Kaszubowski committed
Aug 15, 2015 at 01:25 UTC
1ca77c6ae646b7f298b5e9b8d3076d737179486f
1 file changed
+1
-3
src/renderers/shared/reconciler/ReactMultiChild.js
+1
-3
@@ -257,9 +257,8 @@ var ReactMultiChild = {
257
transaction,
258
context
259
);
260
- child._mountIndex = index;
260
+ child._mountIndex = index++;
261
mountImages.push(mountImage);
262
- index++;
262
}
263
}
264
return mountImages;
@@ -353,7 +352,6 @@ var ReactMultiChild = {
352
processQueue();
353
}
354
}
356
-
355
}
356
},
357