Skip to content

Stop framework headers from exposing private performance APIs - #58011

Open
coado wants to merge 4 commits into
react:mainfrom
coado:export-D116621742
Open

Stop framework headers from exposing private performance APIs#58011
coado wants to merge 4 commits into
react:mainfrom
coado:export-D116621742

Conversation

@coado

@coado coado commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

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

Dawid Małecki and others added 4 commits August 19, 2026 02:28
Differential Revision: D109849952
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
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
@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 19, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Aug 19, 2026
@meta-codesync

meta-codesync Bot commented Aug 19, 2026

Copy link
Copy Markdown

@coado has exported this pull request. If you are a Meta employee, you can view the originating Diff in D116621742.

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