Skip to content

Use public umbrellas in modal headers (#58570) - #58570

Open
coado wants to merge 2 commits into
react:mainfrom
coado:export-D120528333
Open

coado wants to merge 2 commits into
react:mainfrom
coado:export-D120528333

Conversation

@coado

@coado coado commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Summary:

Route public C++ dependencies through their supported umbrella entry points so framework consumers can use the modal module with strict API enforcement enabled.

Changelog: [Internal]

Differential Revision: D120528333

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

meta-codesync Bot commented Sep 17, 2026

Copy link
Copy Markdown

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

@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Sep 17, 2026
coado added a commit to coado/react-native that referenced this pull request Sep 17, 2026
Summary:
Pull Request resolved: react#58570

Route public C++ dependencies through their supported umbrella entry points so framework consumers can use the modal module with strict API enforcement enabled.

Changelog: [Internal]

Differential Revision: D120528333
@meta-codesync meta-codesync Bot changed the title Use public umbrellas in modal headers Use public umbrellas in modal headers (#58570) Sep 17, 2026
Summary:

Update Fabric component codegen to consume the public View module through <React/View.h> for generated props, event emitters, shadow nodes, and dimension conversions. Refresh generated snapshots and checked-in popup-menu bindings, and add strict consumer compile coverage that does not use RN_BUILDING.

Make the View umbrella compatible with force-CXX platform configurations discovered by the broader generated-header coverage. On Android, gate the ViewPropsInterpolation rawProps workaround on both ANDROID and RN_SERIALIZABLE_STATE, since rawProps only exists when serializable state is enabled; this preserves existing Android behavior without enabling the runtime/ABI feature globally. For Android, macOS, and Windows platform types, rely on the Buck-selected HostPlatformViewProps and HostPlatformViewEventEmitter headers instead of compiler platform macros: the native implementations already expose NativeDrawable, HostPlatformViewEvents, KeyEvent, MouseEvent, and WindowsViewEvents, while force-CXX builds intentionally do not export those platform-only headers.

Changelog:
[Internal].

Reviewed By: cipolleschi

Differential Revision: D119490247
Summary:

Route public C++ dependencies through their supported umbrella entry points so framework consumers can use the modal module with strict API enforcement enabled.

Changelog: [Internal]

Differential Revision: D120528333
coado added a commit to coado/react-native that referenced this pull request Sep 18, 2026
Summary:

Route public C++ dependencies through their supported umbrella entry points so framework consumers can use the modal module with strict API enforcement enabled.

Changelog: [Internal]

Differential Revision: D120528333
coado added a commit to coado/react-native that referenced this pull request Sep 18, 2026
Summary:

Route public C++ dependencies through their supported umbrella entry points so framework consumers can use the modal module with strict API enforcement enabled.

Changelog: [Internal]

Differential Revision: D120528333

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

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 p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants