Skip to content

Delete gutted RCTModuleData class and its dead imports (#59426) - #59426

Closed
christophpurrer wants to merge 1 commit into
react:mainfrom
christophpurrer:export-D127228438
Closed

christophpurrer wants to merge 1 commit into
react:mainfrom
christophpurrer:export-D127228438

Conversation

@christophpurrer

@christophpurrer christophpurrer commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

RCTModuleData is never instantiated and its implementation is a stub: initializers return self, and gatherConstants/invalidate are no-ops. Delete the header and implementation with the unused RCTBridgeModuleProvider typedef and RCTModuleDataCallInvokerProvider protocol, plus the buck header-map entry and all import sites.

Changelog:
[iOS][Removed] - Remove deprecated RCTModuleData class and its call-invoker provider protocol

Differential Revision: D127228438

@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 D127228438.

Summary:

`RCTModuleData` is never instantiated and its implementation is a stub: initializers return `self`, and `gatherConstants`/`invalidate` are no-ops. Delete the header and implementation with the unused `RCTBridgeModuleProvider` typedef and `RCTModuleDataCallInvokerProvider` protocol, plus the buck header-map entry and all import sites.

Changelog:
[iOS][Removed] - Remove deprecated `RCTModuleData` class and its call-invoker provider protocol

Differential Revision: D127228438
@meta-codesync meta-codesync Bot changed the title Delete gutted RCTModuleData class and its dead imports Delete gutted RCTModuleData class and its dead imports (#59426) Oct 24, 2026
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Oct 24, 2026
Summary:

`RCTModuleData` is never instantiated and its implementation is a stub: initializers return `self`, and `gatherConstants`/`invalidate` are no-ops. Delete the header and implementation with the unused `RCTBridgeModuleProvider` typedef and `RCTModuleDataCallInvokerProvider` protocol, plus the buck header-map entry and all import sites.

Changelog:
[iOS][Removed] - Remove deprecated `RCTModuleData` class and its call-invoker provider protocol

Differential Revision: D127228438
@meta-codesync meta-codesync Bot closed this in f76f251 Oct 26, 2026
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @christophpurrer in f76f251

When will my fix make it into a release? | How to file a pick request?

@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Oct 26, 2026
@meta-codesync

meta-codesync Bot commented Oct 26, 2026

Copy link
Copy Markdown

This pull request has been merged in f76f251.

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. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants