Cover componentregistry with Stable API guards - #58302
Open
j-piasecki wants to merge 1 commit into
Open
Conversation
Summary: Classifies `react/renderer/componentregistry:componentregistry` as a public target under the C++ stable API three-tier visibility model and introduces the module umbrella `React/ComponentRegistry.h` as its public entry point. This module has no podspec of its own - it ships as a subspec of `React-Fabric` - so the `componentregistryUmbrella` subspec and the matching `headers-config.js` entry are added to the parent pod. The umbrella re-exports all five of the module's headers. The sibling `react/renderer/componentregistry/native:native` target is private under the same model. The guards are inert unless a consumer defines `RN_STRICT_API`, so there is no behavior change. Changelog: [General][Added] - Add `<React/ComponentRegistry.h>` umbrella header as the public entry point for `react/renderer/componentregistry` Differential Revision: D118612734
|
@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D118612734. |
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:
Classifies
react/renderer/componentregistry:componentregistryas a public target under the C++ stable API three-tier visibility model and introduces the module umbrellaReact/ComponentRegistry.has its public entry point.This module has no podspec of its own - it ships as a subspec of
React-Fabric- so thecomponentregistryUmbrellasubspec and the matchingheaders-config.jsentry are added to the parent pod. The umbrella re-exports all five of the module's headers.The sibling
react/renderer/componentregistry/native:nativetarget is private under the same model.The guards are inert unless a consumer defines
RN_STRICT_API, so there is no behavior change.Changelog:
[General][Added] - Add
<React/ComponentRegistry.h>umbrella header as the public entry point forreact/renderer/componentregistryDifferential Revision: D118612734