Skip to content

Use public umbrellas in UIManager headers (#58709) - #58709

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

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

Conversation

@coado

@coado coado commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Migrate React-Fabric mounting headers to consume the RendererCore, Graphics, and Utils stable umbrellas instead of guarded leaf headers. Add the coreUmbrella dependency to the mounting subspec so dynamic-framework consumers receive the owning header.

Avoid RendererDebug.h because its eager utility-template exports change downstream overload lookup; RendererCore already provides the debug flags and declaration types used by mounting.

Drop the #ifdef ANDROID include of configurePlatformColorCacheInvalidationHook.h from the Graphics umbrella. The Android PlatformColorParser.h already includes it, and the explicit include broke Android builds that use the cxx graphics platform headers, where that header does not exist.

Changelog: [Internal]

Differential Revision: D121790104

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

meta-codesync Bot commented Sep 28, 2026

Copy link
Copy Markdown

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

@facebook-github-tools facebook-github-tools Bot added the p: Facebook Partner: Facebook label Sep 28, 2026
@meta-codesync meta-codesync Bot changed the title Use public umbrellas in mounting headers Use public umbrellas in UIManager headers Sep 28, 2026

@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.

Dawid Małecki and others added 2 commits September 29, 2026 06:41
Summary:
Route public React Native dependencies in exported UIManager framework headers through supported umbrella entry points. Preserve same-target, framework-tier, graphics, and third-party includes while declaring standard-library and build dependencies directly.

Changelog:
[Internal]

Differential Revision: D121402288
Summary:
Pull Request resolved: react#58709

Migrate React-Fabric mounting headers to consume the RendererCore, Graphics, and Utils stable umbrellas instead of guarded leaf headers. Add the coreUmbrella dependency to the mounting subspec so dynamic-framework consumers receive the owning header.

Avoid RendererDebug.h because its eager utility-template exports change downstream overload lookup; RendererCore already provides the debug flags and declaration types used by mounting.

Drop the `#ifdef ANDROID` include of `configurePlatformColorCacheInvalidationHook.h` from the Graphics umbrella. The Android `PlatformColorParser.h` already includes it, and the explicit include broke Android builds that use the cxx graphics platform headers, where that header does not exist.

Changelog: [Internal]

Differential Revision: D121790104
@meta-codesync meta-codesync Bot changed the title Use public umbrellas in UIManager headers Use public umbrellas in UIManager headers (#58709) Sep 29, 2026
coado added a commit to coado/react-native that referenced this pull request Sep 29, 2026
Summary:

Migrate React-Fabric mounting headers to consume the RendererCore, Graphics, and Utils stable umbrellas instead of guarded leaf headers. Add the coreUmbrella dependency to the mounting subspec so dynamic-framework consumers receive the owning header.

Avoid RendererDebug.h because its eager utility-template exports change downstream overload lookup; RendererCore already provides the debug flags and declaration types used by mounting.

Drop the `#ifdef ANDROID` include of `configurePlatformColorCacheInvalidationHook.h` from the Graphics umbrella. The Android `PlatformColorParser.h` already includes it, and the explicit include broke Android builds that use the cxx graphics platform headers, where that header does not exist.

Changelog: [Internal]

Differential Revision: D121790104

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.

2 participants