mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Remove dead RCTBridge synthesis from four bridgeless modules (#59250)
Summary: Pull Request resolved: https://github.com/react/react-native/pull/59250 RCTDevMenu, RCTLogBox, RCTRedBox, and RCTBlobManager synthesized the deprecated bridge property but never read it. They use moduleRegistry, bundleManager, and callableJSModules instead. Changelog: [Internal] Reviewed By: javache Differential Revision: D126545276 fbshipit-source-id: 2fc9f40a7d125ca906054c685a6be2b5a4db9ca3
This commit is contained in:
1 parent
adc28a0b60
commit
a7afec7168
4 files changed
-5
No files matched your search
@@ -46,7 +46,6 @@ static NSString *const kBlobURIScheme = @"blob";
|
||||
|
||||
RCT_EXPORT_MODULE(BlobModule)
|
||||
|
||||
@synthesize bridge = _bridge;
|
||||
@synthesize moduleRegistry = _moduleRegistry;
|
||||
@synthesize methodQueue = _methodQueue;
|
||||
|
||||
|
||||
@@ -119,7 +119,6 @@ typedef void (^RCTDevMenuAlertActionHandler)(UIAlertAction *action);
|
||||
NSMutableArray<RCTDevMenuItem *> *_extraMenuItems;
|
||||
}
|
||||
|
||||
@synthesize bridge = _bridge;
|
||||
@synthesize moduleRegistry = _moduleRegistry;
|
||||
@synthesize callableJSModules = _callableJSModules;
|
||||
@synthesize bundleManager = _bundleManager;
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
__weak id<RCTSurfacePresenterStub> _bridgelessSurfacePresenter;
|
||||
}
|
||||
|
||||
@synthesize bridge = _bridge;
|
||||
|
||||
RCT_EXPORT_MODULE()
|
||||
|
||||
+ (BOOL)requiresMainQueueSetup
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
NSMutableArray<RCTRedBoxButtonPressHandler> *_customButtonHandlers;
|
||||
}
|
||||
|
||||
@synthesize bridge = _bridge;
|
||||
@synthesize moduleRegistry = _moduleRegistry;
|
||||
@synthesize bundleManager = _bundleManager;
|
||||
|
||||
|
||||
Reference in new issue
Block a user