Skip to content

Compile out RCTViewManager under RCT_REMOVE_LEGACY_COMPONENT_INTEROP - #59651

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

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

Conversation

@christophpurrer

Copy link
Copy Markdown
Contributor

Summary:
Consumers who opt into RCT_REMOVE_LEGACY_COMPONENT_INTEROP now get the Paper RCTViewManager base class compiled out, along with its property macros and the supporting RCTComponentData implementation. Any remaining subclass fails at compile time instead of shipping unreachable code. The flag defaults to off, so default builds are unaffected.

Changelog:
[iOS][Added] - Compile out the Paper RCTViewManager base when RCT_REMOVE_LEGACY_COMPONENT_INTEROP is set

Differential Revision: D128434146

Summary:
Consumers who opt into `RCT_REMOVE_LEGACY_COMPONENT_INTEROP` now get the Paper `RCTViewManager` base class compiled out, along with its property macros and the supporting `RCTComponentData` implementation. Any remaining subclass fails at compile time instead of shipping unreachable code. The flag defaults to off, so default builds are unaffected.

Changelog:
[iOS][Added] - Compile out the Paper `RCTViewManager` base when `RCT_REMOVE_LEGACY_COMPONENT_INTEROP` is set

Differential Revision: D128434146
@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 29, 2026
@meta-codesync

meta-codesync Bot commented Oct 29, 2026

Copy link
Copy Markdown

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

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