Skip to content

Commit 49be01a

Browse files
cipolleschifacebook-github-bot
authored andcommitted
Move headers from .h to .mm file (#53617)
Summary: Pull Request resolved: #53617 In the RCTAppDelegate.h file there are a couple of headers that are not used and that can be either removed or moved to the .mm file. This reduce the coupling between the AppDelegate library and React Core and allow us to reduce the size of the exported headers in the umbrella header. ## Changelog: [Internal] - Reviewed By: cortinico Differential Revision: D81769485 fbshipit-source-id: b811dde0331e8a668618e0c8eb250fd81bf48545
1 parent 13120f6 commit 49be01a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

packages/react-native/Libraries/AppDelegate/RCTAppDelegate.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
#import <React/RCTBridgeDelegate.h>
9-
#import <React/RCTConvert.h>
108
#import <UIKit/UIKit.h>
119
#import "RCTDefaultReactNativeFactoryDelegate.h"
1210
#import "RCTReactNativeFactory.h"

packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*/
77

88
#import "RCTAppDelegate.h"
9+
#import <React/RCTBridgeDelegate.h>
910
#import <React/RCTLog.h>
1011
#import <React/RCTRootView.h>
1112
#import <React/RCTSurfacePresenterBridgeAdapter.h>

0 commit comments

Comments
 (0)