Skip to content

Use module umbrella headers in react/renderer/animations (#58728) - #58728

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

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

Conversation

@j-piasecki

@j-piasecki j-piasecki commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Headers in react/renderer/animations included fine-grained public headers from other modules that are protected by UmbrellaGuard.h, which hard-errors under RN_STRICT_API unless included through the module umbrella. Switch these includes to the corresponding umbrellas:

  • react/renderer/core/ReactPrimitives.h -> React/RendererCore.h
  • react/renderer/core/RawValue.h -> React/RawValue.h
  • react/renderer/debug/flags.h -> React/RendererDebug.h
  • react/renderer/graphics/Float.h -> React/Graphics.h
  • ReactCommon/RuntimeExecutor.h -> React/RuntimeExecutor.h

For-frameworks headers (mounting, uimanager) have no umbrella and are left as-is.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D122311313

@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 29, 2026
@meta-codesync

meta-codesync Bot commented Sep 29, 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 D122311313.

@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Sep 29, 2026
@meta-codesync meta-codesync Bot changed the title Use module umbrella headers in react/renderer/animations Use module umbrella headers in react/renderer/animations (#58728) Sep 29, 2026
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Sep 29, 2026
Summary:

Headers in `react/renderer/animations` included fine-grained public headers from other modules that are protected by `UmbrellaGuard.h`, which hard-errors under `RN_STRICT_API` unless included through the module umbrella. Switch these includes to the corresponding umbrellas:

- `react/renderer/core/ReactPrimitives.h` -> `React/RendererCore.h`
- `react/renderer/core/RawValue.h` -> `React/RawValue.h`
- `react/renderer/debug/flags.h` -> `React/RendererDebug.h`
- `react/renderer/graphics/Float.h` -> `React/Graphics.h`
- `ReactCommon/RuntimeExecutor.h` -> `React/RuntimeExecutor.h`

For-frameworks headers (`mounting`, `uimanager`) have no umbrella and are left as-is.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D122311313
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Sep 29, 2026
Summary:

Headers in `react/renderer/animations` included fine-grained public headers from other modules that are protected by `UmbrellaGuard.h`, which hard-errors under `RN_STRICT_API` unless included through the module umbrella. Switch these includes to the corresponding umbrellas:

- `react/renderer/core/ReactPrimitives.h` -> `React/RendererCore.h`
- `react/renderer/core/RawValue.h` -> `React/RawValue.h`
- `react/renderer/debug/flags.h` -> `React/RendererDebug.h`
- `react/renderer/graphics/Float.h` -> `React/Graphics.h`
- `ReactCommon/RuntimeExecutor.h` -> `React/RuntimeExecutor.h`

For-frameworks headers (`mounting`, `uimanager`) have no umbrella and are left as-is.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D122311313
Summary:
Pull Request resolved: react#58728

Headers in `react/renderer/animations` included fine-grained public headers from other modules that are protected by `UmbrellaGuard.h`, which hard-errors under `RN_STRICT_API` unless included through the module umbrella. Switch these includes to the corresponding umbrellas:

- `react/renderer/core/ReactPrimitives.h` -> `React/RendererCore.h`
- `react/renderer/core/RawValue.h` -> `React/RawValue.h`
- `react/renderer/debug/flags.h` -> `React/RendererDebug.h`
- `react/renderer/graphics/Float.h` -> `React/Graphics.h`
- `ReactCommon/RuntimeExecutor.h` -> `React/RuntimeExecutor.h`

For-frameworks headers (`mounting`, `uimanager`) have no umbrella and are left as-is.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D122311313
@meta-codesync meta-codesync Bot closed this in a6c6fe9 Sep 29, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Sep 29, 2026
@meta-codesync

meta-codesync Bot commented Sep 29, 2026

Copy link
Copy Markdown

This pull request has been merged in a6c6fe9.

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