From 1ca77c6ae646b7f298b5e9b8d3076d737179486f Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Sat, 15 Aug 2015 01:25:09 +0200 Subject: [PATCH] tiny code tweak in ReactMultiChild --- src/renderers/shared/reconciler/ReactMultiChild.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/renderers/shared/reconciler/ReactMultiChild.js b/src/renderers/shared/reconciler/ReactMultiChild.js index c3b2c4a2ed..172248459a 100644 --- a/src/renderers/shared/reconciler/ReactMultiChild.js +++ b/src/renderers/shared/reconciler/ReactMultiChild.js @@ -257,9 +257,8 @@ var ReactMultiChild = { transaction, context ); - child._mountIndex = index; + child._mountIndex = index++; mountImages.push(mountImage); - index++; } } return mountImages; @@ -353,7 +352,6 @@ var ReactMultiChild = { processQueue(); } } - } },