Skip to content

Cover the mutation observer modules with Stable API guards (#58126) - #58126

Closed
j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D117326015
Closed

Cover the mutation observer modules with Stable API guards (#58126)#58126
j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D117326015

Conversation

@j-piasecki

@j-piasecki j-piasecki commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Summary:

Classifies react/renderer/observers/mutation:mutation and react/nativemodule/mutationobserver:mutationobserver as private targets under the three-tier C++ stable API visibility model. Consumers that opt into RN_STRICT_API now get an error if they include their headers directly; without that flag the guards are inert, so no existing build changes behaviour.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D117326015

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

meta-codesync Bot commented Aug 25, 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 D117326015.

@meta-codesync meta-codesync Bot changed the title Cover the mutation observer modules with Stable API guards Cover the mutation observer modules with Stable API guards (#58126) Aug 26, 2026
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Aug 26, 2026
Summary:

Classifies `react/renderer/observers/mutation:mutation` and `react/nativemodule/mutationobserver:mutationobserver` as private targets under the three-tier C++ stable API visibility model. Consumers that opt into `RN_STRICT_API` now get an error if they include their headers directly; without that flag the guards are inert, so no existing build changes behaviour.

Changelog: [Internal]

Differential Revision: D117326015
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Aug 28, 2026
Summary:

Classifies `react/renderer/observers/mutation:mutation` and `react/nativemodule/mutationobserver:mutationobserver` as private targets under the three-tier C++ stable API visibility model. Consumers that opt into `RN_STRICT_API` now get an error if they include their headers directly; without that flag the guards are inert, so no existing build changes behaviour.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D117326015
Summary:

Classifies `react/renderer/observers/mutation:mutation` and `react/nativemodule/mutationobserver:mutationobserver` as private targets under the three-tier C++ stable API visibility model. Consumers that opt into `RN_STRICT_API` now get an error if they include their headers directly; without that flag the guards are inert, so no existing build changes behaviour.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D117326015
@meta-codesync meta-codesync Bot closed this in ac2f12b Aug 28, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Aug 28, 2026
@meta-codesync

meta-codesync Bot commented Aug 28, 2026

Copy link
Copy Markdown

This pull request has been merged in ac2f12b.

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. Merged This PR has been merged. 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