Skip to content

Commit

Permalink
[iOS] RNTester enable concurrent root when using Fabric
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwuzw committed Oct 24, 2023
1 parent 70acd3f commit 364a0bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/react-native/Libraries/AppDelegate/RCTAppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@
* By default, it assigns the rootView to the view property of the rootViewController
* If you are not using a simple UIViewController, then there could be other methods to use to setup the rootView.
* For example: UISplitViewController requires `setViewController(_:for:)`
*
* @return: void
*/
- (void)setRootView:(UIView *)rootView toRootViewController:(UIViewController *)rootViewController;

Expand Down
4 changes: 2 additions & 2 deletions packages/rn-tester/RNTester/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
self.moduleName = @"RNTesterApp";
// You can add your custom initial props in the dictionary below.
// They will be passed down to the ViewController used by React Native.
self.initialProps = [self prepareInitialProps];
self.initialProps = [self setUpInitialProps];

return [super application:application didFinishLaunchingWithOptions:launchOptions];
}

- (NSDictionary *)prepareInitialProps
- (NSDictionary *)setUpInitialProps
{
NSMutableDictionary *initProps = [NSMutableDictionary new];

Expand Down

0 comments on commit 364a0bd

Please sign in to comment.