Immediately trigger renderApplication from RCTRootView init

Reviewed By: fkgozali

Differential Revision: D4849610

fbshipit-source-id: 291a9bcdf0efe47d83130fe2675f3ef04a3f085b
This commit is contained in:
Pieter De Baets
2017-04-21 06:53:28 -07:00
committed by Facebook Github Bot
parent 6138e20379
commit 59378f71db
5 changed files with 13 additions and 9 deletions

View File

@@ -99,6 +99,7 @@ RCT_CUSTOM_VIEW_PROPERTY(customProp, NSString, RCTPropsTestView)
_bridge = [[RCTBridge alloc] initWithBundleURL:[bundle URLForResource:@"UIExplorerUnitTestsBundle" withExtension:@"js"]
moduleProvider:nil
launchOptions:nil];
RUN_RUNLOOP_WHILE(_bridge.isLoading);
}
- (void)testSetProps