Skip to content

Update module umbrella headers - #58533

Closed
j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D120116214
Closed

j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D120116214

Conversation

@j-piasecki

Copy link
Copy Markdown
Contributor

Summary:
Every umbrella header told the reader that React Native's own code should keep using the fine-grained includes. That is wrong for a header React Native exports to consumers: it is preprocessed in the consumer's translation unit, where the fine-grained include raises a hard error from UmbrellaGuard.h that RN_ALLOW_FRAMEWORKS does not suppress. This diff updates the comment in all 14 umbrella headers to cover that case.

Changelog: [Internal]

Differential Revision: D120116214

Summary:
Every umbrella header told the reader that React Native's own code should keep using the fine-grained includes. That is wrong for a header React Native exports to consumers: it is preprocessed in the consumer's translation unit, where the fine-grained include raises a hard error from `UmbrellaGuard.h` that `RN_ALLOW_FRAMEWORKS` does not suppress. This diff updates the comment in all 14 umbrella headers to cover that case.

Changelog: [Internal]

Differential Revision: D120116214
@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 15, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Sep 15, 2026
@meta-codesync

meta-codesync Bot commented Sep 15, 2026

Copy link
Copy Markdown

@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D120116214.

@meta-codesync meta-codesync Bot closed this in e0d88c4 Sep 15, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Sep 15, 2026
@meta-codesync

meta-codesync Bot commented Sep 15, 2026

Copy link
Copy Markdown

This pull request has been merged in e0d88c4.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant