Skip to content

Delete dead RCTBridge public API and skipped logging tests (#59429) - #59429

Open
christophpurrer wants to merge 3 commits into
react:mainfrom
christophpurrer:export-D127265582
Open

christophpurrer wants to merge 3 commits into
react:mainfrom
christophpurrer:export-D127265582

Conversation

@christophpurrer

@christophpurrer christophpurrer commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Remove RCTBridge declarations with zero callers: enqueueJSCall, module lookup, delegate, moduleClasses, reload, and batch APIs, plus their stub implementations. Keep bundleURL, still read by Expo Dev Menu, and the TurboModule-registry hooks the proxy forwards through, all marked deprecated. Delete skipped RCTLoggingTests, the only enqueueJSCall caller.

Changelog:
[iOS][Removed] - Remove unused RCTBridge reload, module-lookup, and JS-callback APIs
[iOS][Deprecated] - Deprecate RCTBridge.bundleURL, setRCTTurboModuleRegistry:, and bridgeModuleDecorator

Reviewed By: andrewdacenko

Differential Revision: D127265582

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 23, 2026
@meta-codesync

meta-codesync Bot commented Oct 23, 2026

Copy link
Copy Markdown

@christophpurrer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D127265582.

@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Visual regression

No visual differences at 62486704a52d.

@meta-codesync meta-codesync Bot changed the title Delete dead RCTBridge public API and skipped logging tests Delete dead RCTBridge public API and skipped logging tests (#59429) Oct 24, 2026
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Oct 24, 2026
Summary:

Remove `RCTBridge` declarations with zero callers: `enqueueJSCall`, module lookup, `delegate`, `moduleClasses`, reload, and batch APIs, plus their stub implementations. Keep `bundleURL`, still read by Expo Dev Menu, and the TurboModule-registry hooks the proxy forwards through, all marked deprecated. Delete skipped `RCTLoggingTests`, the only `enqueueJSCall` caller.

Changelog:
[iOS][Removed] - Remove unused `RCTBridge` reload, module-lookup, and JS-callback APIs
[iOS][Deprecated] - Deprecate `RCTBridge.bundleURL`, `setRCTTurboModuleRegistry:`, and `bridgeModuleDecorator`

Differential Revision: D127265582
@christophpurrer
christophpurrer force-pushed the export-D127265582 branch 2 times, most recently from 0db73f4 to 981a3d3 Compare October 24, 2026 03:21
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Oct 24, 2026
Summary:

Remove `RCTBridge` declarations with zero callers: `enqueueJSCall`, module lookup, `delegate`, `moduleClasses`, reload, and batch APIs, plus their stub implementations. Keep `bundleURL`, still read by Expo Dev Menu, and the TurboModule-registry hooks the proxy forwards through, all marked deprecated. Delete skipped `RCTLoggingTests`, the only `enqueueJSCall` caller.

Changelog:
[iOS][Removed] - Remove unused `RCTBridge` reload, module-lookup, and JS-callback APIs
[iOS][Deprecated] - Deprecate `RCTBridge.bundleURL`, `setRCTTurboModuleRegistry:`, and `bridgeModuleDecorator`

Differential Revision: D127265582
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Oct 27, 2026
Summary:
Pull Request resolved: react#59429

Remove `RCTBridge` declarations with zero callers: `enqueueJSCall`, module lookup, `delegate`, `moduleClasses`, reload, and batch APIs, plus their stub implementations. Keep `bundleURL`, still read by Expo Dev Menu, and the TurboModule-registry hooks the proxy forwards through, all marked deprecated. Delete skipped `RCTLoggingTests`, the only `enqueueJSCall` caller.

Changelog:
[iOS][Removed] - Remove unused `RCTBridge` reload, module-lookup, and JS-callback APIs
[iOS][Deprecated] - Deprecate `RCTBridge.bundleURL`, `setRCTTurboModuleRegistry:`, and `bridgeModuleDecorator`

Differential Revision: D127265582
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Oct 27, 2026
Summary:

Remove `RCTBridge` declarations with zero callers: `enqueueJSCall`, module lookup, `delegate`, `moduleClasses`, reload, and batch APIs, plus their stub implementations. Keep `bundleURL`, still read by Expo Dev Menu, and the TurboModule-registry hooks the proxy forwards through, all marked deprecated. Delete skipped `RCTLoggingTests`, the only `enqueueJSCall` caller.

Changelog:
[iOS][Removed] - Remove unused `RCTBridge` reload, module-lookup, and JS-callback APIs
[iOS][Deprecated] - Deprecate `RCTBridge.bundleURL`, `setRCTTurboModuleRegistry:`, and `bridgeModuleDecorator`

Reviewed By: andrewdacenko

Differential Revision: D127265582
Summary:

The C++ bridge delegate protocol has no implementers left: its only method served the removed `RCTCxxBridge`. Delete the header with its build entry, the stale forward declaration, and the unused imports.

Changelog:
[iOS][Removed] - Remove unused `RCTCxxBridgeDelegate` protocol

Reviewed By: zeyap

Differential Revision: D127294781
Summary:

Five module accessors on `RCTBridge` (`networking`, `webSocketModule`, `accessibilityManager`, `devSettings`, `imageStoreManager`) have no callers. Delete the bridge-side declarations and the last bridge-side implementation (`uiManager`, whose proxy implementation stays). Deprecate `devMenu`, which external clients still use.

Changelog:
[iOS][Removed] - Remove unused per-module `RCTBridge` accessors

Reviewed By: cipolleschi

Differential Revision: D127294783
Summary:

Remove `RCTBridge` declarations with zero callers: `enqueueJSCall`, module lookup, `delegate`, `moduleClasses`, reload, and batch APIs, plus their stub implementations. Keep `bundleURL`, still read by Expo Dev Menu, and the TurboModule-registry hooks the proxy forwards through, all marked deprecated. Delete skipped `RCTLoggingTests`, the only `enqueueJSCall` caller.

Changelog:
[iOS][Removed] - Remove unused `RCTBridge` reload, module-lookup, and JS-callback APIs
[iOS][Deprecated] - Deprecate `RCTBridge.bundleURL`, `setRCTTurboModuleRegistry:`, and `bridgeModuleDecorator`

Reviewed By: andrewdacenko

Differential Revision: D127265582
@christophpurrer
christophpurrer force-pushed the export-D127265582 branch 2 times, most recently from 6248670 to 8c6e2f0 Compare October 28, 2026 14:46
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Oct 28, 2026
Summary:

Remove `RCTBridge` declarations with zero callers: `enqueueJSCall`, module lookup, `delegate`, `moduleClasses`, reload, and batch APIs, plus their stub implementations. Keep `bundleURL`, still read by Expo Dev Menu, and the TurboModule-registry hooks the proxy forwards through, all marked deprecated. Delete skipped `RCTLoggingTests`, the only `enqueueJSCall` caller.

Changelog:
[iOS][Removed] - Remove unused `RCTBridge` reload, module-lookup, and JS-callback APIs
[iOS][Deprecated] - Deprecate `RCTBridge.bundleURL`, `setRCTTurboModuleRegistry:`, and `bridgeModuleDecorator`

Reviewed By: andrewdacenko

Differential Revision: D127265582

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant