mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Move the RCTAppsetuUtils to AppDelegate
Summary: This change solve a Circular Dependency where - `React-Core` depends on `ReactCommon` because `RCTAppSetupUtils.h` (in Core) imports the `RCTTurboModuleManager` (from ReactCommon) - `RCTTurboModuleManager` in `ReactCommon` depends on `React-Core` because it imports several classes from it (e.g. the `RCTBridge` class) ## Changelog: [iOS][Breaking] - Moved the RCTAppSetupUtils to the AppDelegate library to break a dependency cycle Reviewed By: sammy-SC, dmytrorykun Differential Revision: D43089183 fbshipit-source-id: d7fc36a50811962caf7cff77bb45d42b8cdd4575
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b77841d991
commit
36a64dc2bd
@@ -6,8 +6,8 @@
|
||||
*/
|
||||
|
||||
#import "RCTAppDelegate.h"
|
||||
#import <React/RCTAppSetupUtils.h>
|
||||
#import <React/RCTRootView.h>
|
||||
#import "RCTAppSetupUtils.h"
|
||||
|
||||
#if RCT_NEW_ARCH_ENABLED
|
||||
#import <React/CoreModulesPlugins.h>
|
||||
|
||||
Reference in New Issue
Block a user