Skip to content

Delete never-posted RCTBridge notifications (#59437) - #59437

Open
christophpurrer wants to merge 8 commits into
react:mainfrom
christophpurrer:export-D127294776
Open

christophpurrer wants to merge 8 commits into
react:mainfrom
christophpurrer:export-D127294776

Conversation

@christophpurrer

@christophpurrer christophpurrer commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete the script-download notifications, WillBeInvalidated, and the keys with the dead observers in RCTDeviceInfo, the avatar updates module, and both reload perf loggers. Keep the two invalidation notifications Skia and Reanimated still observe, marked deprecated along with WillReload.

Changelog:
[iOS][Removed] - Remove never-posted RCTBridge script-download and WillBeInvalidated notifications
[iOS][Deprecated] - Deprecate never-posted invalidation notifications still observed by Skia and Reanimated

Reviewed By: vzaidman

Differential Revision: D127294776

@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 24, 2026
@meta-codesync

meta-codesync Bot commented Oct 24, 2026

Copy link
Copy Markdown

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

christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Oct 24, 2026
Summary:
Pull Request resolved: react#59437

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete them with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep `RCTBridgeWillReloadNotification`, still observed by Expo, and mark it deprecated.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and invalidation notifications

Differential Revision: D127294776
@meta-codesync meta-codesync Bot changed the title Delete never-posted RCTBridge notifications Delete never-posted RCTBridge notifications (#59437) Oct 24, 2026
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Oct 24, 2026
Summary:
Pull Request resolved: react#59437

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete them with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep `RCTBridgeWillReloadNotification`, still observed by Expo, and mark it deprecated.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and invalidation notifications

Differential Revision: D127294776
@christophpurrer
christophpurrer force-pushed the export-D127294776 branch 2 times, most recently from 96e053c to f1e2819 Compare October 27, 2026 14:16
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Oct 27, 2026
Summary:
Pull Request resolved: react#59437

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete them with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep `RCTBridgeWillReloadNotification`, still observed by Expo, and mark it deprecated.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and invalidation notifications

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

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete the script-download notifications, `WillBeInvalidated`, and the keys with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep the two invalidation notifications Skia and Reanimated still observe, marked deprecated along with `WillReload`.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and `WillBeInvalidated` notifications
[iOS][Deprecated] - Deprecate never-posted invalidation notifications still observed by Skia and Reanimated

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

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete the script-download notifications, `WillBeInvalidated`, and the keys with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep the two invalidation notifications Skia and Reanimated still observe, marked deprecated along with `WillReload`.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and `WillBeInvalidated` notifications
[iOS][Deprecated] - Deprecate never-posted invalidation notifications still observed by Skia and Reanimated

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

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete the script-download notifications, `WillBeInvalidated`, and the keys with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep the two invalidation notifications Skia and Reanimated still observe, marked deprecated along with `WillReload`.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and `WillBeInvalidated` notifications
[iOS][Deprecated] - Deprecate never-posted invalidation notifications still observed by Skia and Reanimated

Reviewed By: vzaidman

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

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete the script-download notifications, `WillBeInvalidated`, and the keys with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep the two invalidation notifications Skia and Reanimated still observe, marked deprecated along with `WillReload`.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and `WillBeInvalidated` notifications
[iOS][Deprecated] - Deprecate never-posted invalidation notifications still observed by Skia and Reanimated

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

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete the script-download notifications, `WillBeInvalidated`, and the keys with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep the two invalidation notifications Skia and Reanimated still observe, marked deprecated along with `WillReload`.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and `WillBeInvalidated` notifications
[iOS][Deprecated] - Deprecate never-posted invalidation notifications still observed by Skia and Reanimated

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

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete the script-download notifications, `WillBeInvalidated`, and the keys with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep the two invalidation notifications Skia and Reanimated still observe, marked deprecated along with `WillReload`.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and `WillBeInvalidated` notifications
[iOS][Deprecated] - Deprecate never-posted invalidation notifications still observed by Skia and Reanimated

Reviewed By: vzaidman

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

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete the script-download notifications, `WillBeInvalidated`, and the keys with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep the two invalidation notifications Skia and Reanimated still observe, marked deprecated along with `WillReload`.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and `WillBeInvalidated` notifications
[iOS][Deprecated] - Deprecate never-posted invalidation notifications still observed by Skia and Reanimated

Reviewed By: vzaidman

Differential Revision: D127294776
@github-actions

Copy link
Copy Markdown

Visual regression

No visual differences at 255b99ab6962.

android: no capture

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

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

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`

Differential Revision: D127265582
…59433)

Summary:
Pull Request resolved: react#59433

The `RCTTest` runner, `IntegrationTests` bundle, and `RNTesterIntegrationTests` target are fully disabled: every test is commented out or skipped for depending on the removed bridge. Delete the harness, the skipped `RCTDevMenuTests`/`RCTComponentPropsTests`/`RCTImageLoaderTests` class, and all project references.

Changelog: [Internal]

Differential Revision: D127294772
Summary:
Both `RCTBridge` initializers return an inert stub and have no callers left now that the test harness is gone. Delete the declarations and stub implementations. `RCTBridgeModuleListProvider` stays until the proxy shim using it is removed.

Changelog:
[iOS][Removed] - Remove deprecated `RCTBridge` initializers

Differential Revision: D127294773
Summary:
Pull Request resolved: react#59435

The default JS executor factory unconditionally returns `nullptr` and has no callers. Delete it with its now-unused imports and forward declarations, narrowing the header to forward declarations.

Changelog: [Internal]

Differential Revision: D127294774
Summary:
The `RCTBridge (Inspector)` category exposes `inspectorTarget`/`inspectable` with zero callers; the modern inspector reaches `RCTHost` directly. Delete the header, its buck entry, the unused imports, and the proxy shim.

Changelog:
[iOS][Removed] - Remove unused `RCTBridge (Inspector)` category

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

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete the script-download notifications, `WillBeInvalidated`, and the keys with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep the two invalidation notifications Skia and Reanimated still observe, marked deprecated along with `WillReload`.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and `WillBeInvalidated` notifications
[iOS][Deprecated] - Deprecate never-posted invalidation notifications still observed by Skia and Reanimated

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

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete the script-download notifications, `WillBeInvalidated`, and the keys with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep the two invalidation notifications Skia and Reanimated still observe, marked deprecated along with `WillReload`.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and `WillBeInvalidated` notifications
[iOS][Deprecated] - Deprecate never-posted invalidation notifications still observed by Skia and Reanimated

Reviewed By: vzaidman

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

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete the script-download notifications, `WillBeInvalidated`, and the keys with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep the two invalidation notifications Skia and Reanimated still observe, marked deprecated along with `WillReload`.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and `WillBeInvalidated` notifications
[iOS][Deprecated] - Deprecate never-posted invalidation notifications still observed by Skia and Reanimated

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

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete the script-download notifications, `WillBeInvalidated`, and the keys with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep the two invalidation notifications Skia and Reanimated still observe, marked deprecated along with `WillReload`.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and `WillBeInvalidated` notifications
[iOS][Deprecated] - Deprecate never-posted invalidation notifications still observed by Skia and Reanimated

Reviewed By: vzaidman

Differential Revision: D127294776
Summary:
Pull Request resolved: react#59437

Five bridge notifications and three user-info keys have zero posters; only fast refresh is posted and observed. Delete the script-download notifications, `WillBeInvalidated`, and the keys with the dead observers in `RCTDeviceInfo`, the avatar updates module, and both reload perf loggers. Keep the two invalidation notifications Skia and Reanimated still observe, marked deprecated along with `WillReload`.

Changelog:
[iOS][Removed] - Remove never-posted `RCTBridge` script-download and `WillBeInvalidated` notifications
[iOS][Deprecated] - Deprecate never-posted invalidation notifications still observed by Skia and Reanimated

Reviewed By: vzaidman

Differential Revision: D127294776

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