Skip to content

Add umbrella for react/renderer/uimanager subtree (#58025) - #58025

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

Add umbrella for react/renderer/uimanager subtree (#58025)#58025
coado wants to merge 2 commits into
react:mainfrom
coado:export-D116763079

Conversation

@coado

@coadocoado commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary:

Rolls the umbrella-header + include-guard mechanism across the
react/renderer/uimanager module, classifying the target as public.

  • Adds <React/UIManager.h>, re-exporting the module's public interface headers.
  • Adds <react/cxxstableapi/UmbrellaGuard.h> to the module's public headers.
  • Wires the umbrella header directory into the Buck, CMake, CocoaPods, Gradle,
    and iOS prebuild header configurations.
  • Deprecated SurfaceRegistryBinding.h does not include umbrella guard because it will fail anyway when included directly (it includes AppRegistryBinding that does include guard).

React Native's own sources keep using the fine-grained
<react/renderer/uimanager/...> includes; only outside consumers use the
umbrella.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D116763079

@meta-clameta-claBot 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 Aug 20, 2026
@facebook-github-toolsfacebook-github-toolsBot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Aug 20, 2026
@meta-codesync

Copy link
Copy Markdown

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

@meta-codesyncmeta-codesyncBot changed the title Add umbrella for react/renderer/uimanager subtreeAdd umbrella for react/renderer/uimanager subtree (#58025)Aug 20, 2026
coado added a commit to coado/react-native that referenced this pull request Aug 20, 2026
Summary:
Pull Request resolved: react#58025
Rolls the umbrella-header + include-guard mechanism across the
`react/renderer/uimanager` module, classifying the target as public.
- Adds `<React/UIManager.h>`, re-exporting the module's public interface headers.
- Adds `<react/cxxstableapi/UmbrellaGuard.h>` to the module's public headers.
- Wires the umbrella header directory into the Buck, CMake, CocoaPods, Gradle,
and iOS prebuild header configurations.
- Deprecated `SurfaceRegistryBinding.h` does not include umbrella guard because it will fail anyway when included directly (it includes AppRegistryBinding that does include guard).
React Native's own sources keep using the fine-grained
`<react/renderer/uimanager/...>` includes; only outside consumers use the
umbrella.
Changelog: [Internal]
Differential Revision: D116763079
coado added a commit to coado/react-native that referenced this pull request Aug 20, 2026
Summary:
Pull Request resolved: react#58025
Rolls the umbrella-header + include-guard mechanism across the
`react/renderer/uimanager` module, classifying the target as public.
- Adds `<React/UIManager.h>`, re-exporting the module's public interface headers.
- Adds `<react/cxxstableapi/UmbrellaGuard.h>` to the module's public headers.
- Wires the umbrella header directory into the Buck, CMake, CocoaPods, Gradle,
and iOS prebuild header configurations.
- Deprecated `SurfaceRegistryBinding.h` does not include umbrella guard because it will fail anyway when included directly (it includes AppRegistryBinding that does include guard).
React Native's own sources keep using the fine-grained
`<react/renderer/uimanager/...>` includes; only outside consumers use the
umbrella.
Changelog: [Internal]
Differential Revision: D116763079
Summary:
Add `<React/MapBuffer.h>` as the public C++ entry point for MapBuffer and MapBufferBuilder. Guard direct leaf-header inclusion for strict API consumers while preserving existing React Native builds and legacy include paths.
Export and stage the umbrella consistently through Buck, CMake, Android Prefab, CocoaPods, and the Apple prebuilt-header inventory.
Changelog:
[Internal]
Reviewed By: cipolleschi
Differential Revision: D116632721
Summary:
Rolls the umbrella-header + include-guard mechanism across the
`react/renderer/uimanager` module, classifying the target as public.
- Adds `<React/UIManager.h>`, re-exporting the module's public interface headers.
- Adds `<react/cxxstableapi/UmbrellaGuard.h>` to the module's public headers.
- Wires the umbrella header directory into the Buck, CMake, CocoaPods, Gradle,
and iOS prebuild header configurations.
- Deprecated `SurfaceRegistryBinding.h` does not include umbrella guard because it will fail anyway when included directly (it includes AppRegistryBinding that does include guard).
React Native's own sources keep using the fine-grained
`<react/renderer/uimanager/...>` includes; only outside consumers use the
umbrella.
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D116763079
@meta-codesyncmeta-codesyncBot added the Merged This PR has been merged. label Aug 21, 2026
@meta-codesync

Copy link
Copy Markdown

This pull request has been merged in 6bee68d.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.MergedThis PR has been merged.meta-exportedp: FacebookPartner: Facebookp: Software MansionPartner: Software MansionPartner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@coado