Skip to content

Use umbrellas instead of direct includes in renderer core module (#58654) - #58654

Open
j-piasecki wants to merge 4 commits into
react:mainfrom
j-piasecki:export-D121395742
Open

j-piasecki wants to merge 4 commits into
react:mainfrom
j-piasecki:export-D121395742

Conversation

@j-piasecki

@j-piasecki j-piasecki commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Changelog: [Internal]

Update react/renderer/core to use the React/Debug.h, React/FeatureFlags.h, React/Graphics.h, React/MapBuffer.h, React/RendererDebug.h, React/Timing.h and React/Utils.h umbrellas instead of direct includes.

debugStringConvertibleUtils.h is an implementation helper, not public API, and is no longer re-exported from React/RendererDebug.h. Public API surface is unchanged.

Differential Revision: D121395742

@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 23, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Sep 23, 2026
Jakub Piasecki and others added 3 commits September 24, 2026 01:43
Summary:
Each module ships a small header that acts as its entry point. Those were
being packaged into the React framework, but the code that includes them
lives in the shared headers bundle the framework is built on top of. The two
ended up pointing at each other and the iOS build failed.

Ship the entry-point headers with the shared headers instead. They still
resolve the same way for anyone including them, and no other header moves.

Changelog: [Internal]

Differential Revision: D121187558
Summary:
Changelog: [Internal]

Update the timing module to use `React/Debug.h` umbrella include instead of a direct one.

Differential Revision: D120137164
Summary:
Changelog: [Internal]

Add a `React/RawValue.h` umbrella for the `rawValue` target, the slice of `react/renderer/core` that exists so core and `react/renderer/graphics` do not form a dependency cycle. `React/RendererCore.h` re-exports it instead of listing the two headers directly.

Differential Revision: D121388426
@meta-codesync

meta-codesync Bot commented Sep 24, 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 D121395742.

…ct#58654)

Summary:
Pull Request resolved: react#58654

Changelog: [Internal]

Update `react/renderer/core` to use the `React/Debug.h`, `React/FeatureFlags.h`, `React/Graphics.h`, `React/MapBuffer.h`, `React/RendererDebug.h`, `React/Timing.h` and `React/Utils.h` umbrellas instead of direct includes.

`debugStringConvertibleUtils.h` is an implementation helper, not public API, and is no longer re-exported from `React/RendererDebug.h`. Public API surface is unchanged.

Differential Revision: D121395742
@meta-codesync meta-codesync Bot changed the title Use umbrellas instead of direct includes in renderer core module Use umbrellas instead of direct includes in renderer core module (#58654) Sep 24, 2026

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant