Skip to content

Cover componentregistry with Stable API guards - #58302

Open
j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D118612734
Open

Cover componentregistry with Stable API guards#58302
j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D118612734

Conversation

@j-piasecki

Copy link
Copy Markdown
Contributor

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

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

meta-codesync Bot commented Sep 3, 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 D118612734.

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