mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 12:15:37 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user