2015-02-07 updates

- Fixes reference to ReactPackager middleware | Tyler Smalley
- [ReactKit] Fix bug where <Text /> did not refresh (in RCTText) | Alex Akers
- Removed duplication in react-native.js | Nick Lockwood
- [ReactNative] Patch up ReactPerf to work again | Ben Alpert
This commit is contained in:
Christopher Chedeau
2015-02-07 11:22:53 -08:00
parent 9674c99a33
commit 462c7ed8ef
5 changed files with 36 additions and 48 deletions

View File

@@ -8,6 +8,7 @@
var RKUIManager = require('NativeModulesDeprecated').RKUIManager;
var ReactIOSTagHandles = require('ReactIOSTagHandles');
var ReactPerf = require('ReactPerf');
var instantiateReactComponent = require('instantiateReactComponent');
var invariant = require('invariant');
@@ -47,7 +48,7 @@ var ReactIOSMount = {
TOP_ROOT_NODE_IDS[topRootNodeID] = true;
var childRootNodeID = instanceNumberToChildRootID(
topRootNodeID,
topRootNodeID,
ReactIOSMount.instanceCount++
);
ReactIOSMount._instancesByContainerID[topRootNodeID] = instance;
@@ -113,4 +114,10 @@ var ReactIOSMount = {
}
};
ReactIOSMount.renderComponent = ReactPerf.measure(
'ReactMount',
'_renderNewRootComponent',
ReactIOSMount.renderComponent
);
module.exports = ReactIOSMount;