Skip to content

Make core Dynamic* and ReactRootViewTagGenerator headers for-frameworks (#58884) - #58884

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

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

Conversation

@j-piasecki

@j-piasecki j-piasecki commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

DynamicEventPayload.h, DynamicPointerEvent.h, DynamicPropsUtilities.h and ReactRootViewTagGenerator.h are used by React Native's own sources and by platform and host integrations, not by component code, so they move from the public to the "for frameworks" tier of the C++ stable API and leave the <React/RendererCore.h> umbrella. Consumers that opt into RN_STRICT_API get a warning if they include these headers directly, which they can acknowledge with RN_ALLOW_FRAMEWORKS; without that flag the guards are inert.

Changelog: [Internal]

Differential Revision: D123610705

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

meta-codesync Bot commented Oct 6, 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 D123610705.

j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Oct 6, 2026
…ks (react#58884)

Summary:

`DynamicEventPayload.h`, `DynamicPointerEvent.h`, `DynamicPropsUtilities.h` and `ReactRootViewTagGenerator.h` are used by React Native's own sources and by platform and host integrations, not by component code, so they move from the public to the "for frameworks" tier of the C++ stable API and leave the `<React/RendererCore.h>` umbrella. Consumers that opt into `RN_STRICT_API` get a warning if they include these headers directly, which they can acknowledge with `RN_ALLOW_FRAMEWORKS`; without that flag the guards are inert.

Changelog: [Internal]

Differential Revision: D123610705
@meta-codesync meta-codesync Bot changed the title Make core Dynamic* and ReactRootViewTagGenerator headers for-frameworks Make core Dynamic* and ReactRootViewTagGenerator headers for-frameworks (#58884) Oct 6, 2026
…ks (react#58884)

Summary:
Pull Request resolved: react#58884

`DynamicEventPayload.h`, `DynamicPointerEvent.h`, `DynamicPropsUtilities.h` and `ReactRootViewTagGenerator.h` are used by React Native's own sources and by platform and host integrations, not by component code, so they move from the public to the "for frameworks" tier of the C++ stable API and leave the `<React/RendererCore.h>` umbrella. Consumers that opt into `RN_STRICT_API` get a warning if they include these headers directly, which they can acknowledge with `RN_ALLOW_FRAMEWORKS`; without that flag the guards are inert.

Changelog: [Internal]

Differential Revision: D123610705
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Oct 6, 2026
…ks (react#58884)

Summary:
Pull Request resolved: react#58884

`DynamicEventPayload.h`, `DynamicPointerEvent.h`, `DynamicPropsUtilities.h` and `ReactRootViewTagGenerator.h` are used by React Native's own sources and by platform and host integrations, not by component code, so they move from the public to the "for frameworks" tier of the C++ stable API and leave the `<React/RendererCore.h>` umbrella. Consumers that opt into `RN_STRICT_API` get a warning if they include these headers directly, which they can acknowledge with `RN_ALLOW_FRAMEWORKS`; without that flag the guards are inert.

Changelog: [Internal]

Differential Revision: D123610705

This branch has not been deployed

No deployments
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