mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Remove dead RCTBridge imports from nine base files (#59320)
Summary: Pull Request resolved: https://github.com/react/react-native/pull/59320 Nine React Base implementation files imported the bridge headers without using any symbol they provide. RCTLog narrows to the module protocol header, which declares the registry interfaces it messages. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D126580392 fbshipit-source-id: 1324af388fb6a948d12ee3ac73fcddce951ccd38
This commit is contained in:
1 parent
bbee89c517
commit
ac5bb3c948
9 files changed
+1
-13
No files matched your search
@@ -9,8 +9,6 @@
|
||||
#import <React/RCTBundleURLProvider.h>
|
||||
#import <React/RCTDevLoadingViewSetEnabled.h>
|
||||
#import "RCTAssert.h"
|
||||
#import "RCTBridge+Private.h"
|
||||
#import "RCTBridge.h"
|
||||
#import "RCTLog.h"
|
||||
|
||||
@implementation RCTBundleConfiguration
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#import "RCTBridge.h"
|
||||
#import "RCTBridgeModule.h"
|
||||
|
||||
@implementation RCTCallableJSModules {
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
|
||||
#import <cxxreact/JSBundleType.h>
|
||||
|
||||
#import "RCTBridge.h"
|
||||
#import "RCTConvert.h"
|
||||
#import "RCTMultipartDataTask.h"
|
||||
#import "RCTPerformanceLogger.h"
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
#import <os/log.h>
|
||||
|
||||
#import "RCTAssert.h"
|
||||
#import "RCTBridge+Private.h"
|
||||
#import "RCTBridge.h"
|
||||
#import "RCTBridgeModule.h"
|
||||
#import "RCTDefines.h"
|
||||
#import "RCTRedBoxSetEnabled.h"
|
||||
#import "RCTUtils.h"
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
#import <objc/runtime.h>
|
||||
|
||||
#import "RCTAssert.h"
|
||||
#import "RCTBridge+Private.h"
|
||||
#import "RCTBridge.h"
|
||||
#import "RCTConstants.h"
|
||||
#import "RCTKeyCommands.h"
|
||||
#import "RCTLog.h"
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#import <UIKit/UIGestureRecognizerSubclass.h>
|
||||
|
||||
#import "RCTAssert.h"
|
||||
#import "RCTBridge.h"
|
||||
#import "RCTEventDispatcherProtocol.h"
|
||||
#import "RCTLog.h"
|
||||
#import "RCTSurfaceView.h"
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#import <React/RCTSurfacePresenterStub.h>
|
||||
#import <React/RCTUIManager.h>
|
||||
|
||||
#import "RCTBridge.h"
|
||||
#import "RCTBridgeModule.h"
|
||||
|
||||
@implementation RCTViewRegistry {
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
#import <stdatomic.h>
|
||||
|
||||
#import "RCTAssert.h"
|
||||
#import "RCTBridge+Private.h"
|
||||
#import "RCTBridge.h"
|
||||
#import "RCTConstants.h"
|
||||
#import "RCTShadowView+Layout.h"
|
||||
#import "RCTSurfaceDelegate.h"
|
||||
|
||||
-1
@@ -10,7 +10,6 @@
|
||||
#import <objc/runtime.h>
|
||||
|
||||
#import "RCTAssert.h"
|
||||
#import "RCTBridge+Private.h"
|
||||
#import "RCTBridge.h"
|
||||
#import "RCTLog.h"
|
||||
#import "RCTPerformanceLogger.h"
|
||||
|
||||
Reference in new issue
Block a user