mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Use RNTester init also in the old arch when Fabric is enabled (#36283)
Summary: This PR fixes the initialization path of RNTester when it is run with the Old Arch and Fabric enabled ## Changelog [iOS][Fixed] - Make sure to initialize the contextContainer in the Old Arch with Fabric enabled Pull Request resolved: https://github.com/facebook/react-native/pull/36283 Test Plan: Tested manually on RNTester CircleCI is green Reviewed By: sammy-SC Differential Revision: D43568205 Pulled By: cipolleschi fbshipit-source-id: cddba97629b542a044191da14221f3300a9d879f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e79500e6a7
commit
bf03e86bc7
@@ -88,7 +88,7 @@ static NSString *const kRNConcurrentRoot = @"concurrentRoot";
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
#if RCT_NEW_ARCH_ENABLED
|
||||
#ifdef RN_FABRIC_ENABLED
|
||||
- (instancetype)init
|
||||
{
|
||||
if (self = [super init]) {
|
||||
|
||||
Reference in New Issue
Block a user