Merge pull request #2593 from sebmarkbage/mountImage

Add additional field for ART reconciler
This commit is contained in:
Sebastian Markbåge
2014-11-24 17:08:13 -08:00
+4
View File
@@ -89,7 +89,11 @@ var ReactComponent = {
// We keep the old element and a reference to the pending element
// to track updates.
this._currentElement = element;
// These two fields are used by the DOM and ART diffing algorithms
// respectively. Instead of using expandos on components, we should be
// storing the state needed by the diffing algorithms elsewhere.
this._mountIndex = 0;
this._mountImage = null;
},
/**