Add umbrella for react/renderer/uimanager subtree (#58025) - #58025
Open
coado wants to merge 6 commits into
Open
Conversation
|
@coado has exported this pull request. If you are a Meta employee, you can view the originating Diff in D116763079. |
added 5 commits
August 20, 2026 04:52
Summary: Pull Request resolved: react#57312 This change rolls the umbrella-header + include-guard mechanism across the `react/renderer/components/*` modules, classifying each target as public, for-frameworks, or private. The change includes: - react/renderer/components/progressbar:androidprogressbar - `private`, - react/renderer/components/switch:androidswitch - `private`, - react/renderer/components/image:image - `public`, - react/renderer/components/inputaccessory:inputaccessory - `private`, - react/renderer/components/legacyviewmanagerinterop:legacyviewmanagerinterop - `private` - react/renderer/components/modal:modal - `public`, - react/renderer/components/text:text - `public`, - react/renderer/components/root:root - `public`, - react/renderer/components/safeareaview:safeareaview - `private`, - react/renderer/components/scrollview:scrollview - `public`, - react/renderer/components/unimplementedview:unimplementedview - `private`, - react/renderer/components/view:view - `public`, - react/renderer/components/virtualview:virtualview - `private`, - react/renderer/components/textinput:textinput - `for frameworks`, Changelog: [Internal] Differential Revision: D109316840
Differential Revision: D116298251
Summary: Move private performance includes out of framework-facing scheduler headers and into their implementation files. Store the conditional CDP reporters behind unique pointers so their declarations can remain private implementation details. Changelog: [Internal] Differential Revision: D116621742
Summary: Adds private guards to `react/performance/timeline:timeline` and `react/performance/cdpmetrics:cdpmetrics` headers preventing from inclusions when `RN_STABLE_API` is turned on. Differential Revision: D109558177
Summary: Add `<React/MapBuffer.h>` as the canonical 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: [General][Added] - Add `<React/MapBuffer.h>` as the stable public C++ entry point for MapBuffer Differential Revision: D116632721
react/renderer/uimanager subtreereact/renderer/uimanager subtree (#58025)
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
force-pushed
the
export-D116763079
branch
from
August 20, 2026 12:41
40c31b9 to
73ab827
Compare
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
force-pushed
the
export-D116763079
branch
from
August 20, 2026 13:51
73ab827 to
31453e2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Rolls the umbrella-header + include-guard mechanism across the
react/renderer/uimanagermodule, classifying the target as public.<React/UIManager.h>, re-exporting the module's public interface headers.<react/cxxstableapi/UmbrellaGuard.h>to the module's public headers.and iOS prebuild header configurations.
SurfaceRegistryBinding.hdoes 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 theumbrella.
Changelog: [Internal]
Differential Revision: D116763079