Remove dead RCTBridge imports from six more files (#59324)

Summary:
Pull Request resolved: https://github.com/react/react-native/pull/59324

The view manager, accessibility manager, event dispatcher, packager
connection, and two Fabric component views imported the bridge headers
without using them. Each keeps the narrower header that provides what
it actually needs.

Changelog:
[Internal]

Reviewed By: cortinico

Differential Revision: D126580840

fbshipit-source-id: 081e025a2b185f4cadba657315d2cc47fb4ffa6e
This commit is contained in:
Christoph Purrer authored and meta-codesync[bot] committed 2026-10-22 22:47:04 -07:00
1 parent 2b71bb2a7f
commit bbee89c517
6 files changed
-7

No files matched your search

@@ -9,7 +9,6 @@
#import "RCTAccessibilityManager+Internal.h"
#import <FBReactNativeSpec/FBReactNativeSpec.h>
#import <React/RCTBridge.h>
#import <React/RCTConvert.h>
#import <React/RCTEventDispatcherProtocol.h>
#import <React/RCTLog.h>
@@ -8,8 +8,6 @@
#import "RCTEventDispatcher.h"
#import <React/RCTAssert.h>
#import <React/RCTBridge+Private.h>
#import <React/RCTBridge.h>
#import <React/RCTComponentEvent.h>
#import <React/RCTProfile.h>
#import <React/RCTUtils.h>
@@ -12,7 +12,6 @@
#import <vector>
#import <React/RCTAssert.h>
#import <React/RCTBridge.h>
#import <React/RCTBundleManager.h>
#import <React/RCTBundleURLProvider.h>
#import <React/RCTConstants.h>
@@ -7,7 +7,6 @@
#import "RCTModalHostViewComponentView.h"
#import <React/RCTBridge+Private.h>
#import <React/UIView+React.h>
#import <react/renderer/components/FBReactNativeSpec/EventEmitters.h>
#import <react/renderer/components/FBReactNativeSpec/Props.h>
@@ -8,7 +8,6 @@
#import "RCTScrollViewComponentView.h"
#import <React/RCTAssert.h>
#import <React/RCTBridge+Private.h>
#import <React/RCTConstants.h>
#import <React/RCTScrollEvent.h>
@@ -10,7 +10,6 @@
#import "RCTAssert.h"
#import "RCTBorderCurve.h"
#import "RCTBorderStyle.h"
#import "RCTBridge.h"
#import "RCTConvert+Transform.h"
#import "RCTConvert.h"
#import "RCTCursor.h"