Skip to content

Use umbrella includes in textlayoutmanager headers (#58665) - #58665

Open
j-piasecki wants to merge 3 commits into
react:mainfrom
j-piasecki:export-D121582300
Open

j-piasecki wants to merge 3 commits into
react:mainfrom
j-piasecki:export-D121582300

Conversation

@j-piasecki

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

Copy link
Copy Markdown
Contributor

Summary:

Switch the public headers of react/renderer/textlayoutmanager from fine-grained cross-module includes to the stable umbrella headers (<React/Graphics.h>, <React/RendererCore.h>, <React/Utils.h>). Implementation files keep using the fine-grained headers.

Adds the react/renderer/graphics umbrella search path to React-FabricComponents for framework builds, since textlayoutmanager headers now reach it through the umbrella. No new module dependencies are needed.

Changelog: [Internal]

Differential Revision: D121582300

@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 24, 2026
@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 D121582300.

@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner labels Sep 24, 2026
@facebook-github-tools facebook-github-tools Bot added the p: Facebook Partner: Facebook label Sep 24, 2026
j-piasecki and others added 3 commits September 25, 2026 04:01
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
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
Summary:
Pull Request resolved: react#58665

Switch the public headers of `react/renderer/textlayoutmanager` from fine-grained cross-module includes to the stable umbrella headers (`<React/Graphics.h>`, `<React/RendererCore.h>`, `<React/Utils.h>`). Implementation files keep using the fine-grained headers.

Adds the `react/renderer/graphics` umbrella search path to `React-FabricComponents` for framework builds, since textlayoutmanager headers now reach it through the umbrella. No new module dependencies are needed.

Changelog: [Internal]

Differential Revision: D121582300
@meta-codesync meta-codesync Bot changed the title Use umbrella includes in textlayoutmanager headers Use umbrella includes in textlayoutmanager headers (#58665) Sep 25, 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