Skip to content

Make TurboModule host integration headers for-frameworks (#58955) - #58955

Open
coado wants to merge 3 commits into
react:mainfrom
coado:export-D124104733
Open

coado wants to merge 3 commits into
react:mainfrom
coado:export-D124104733

Conversation

@coado

@coado coado commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Move the following react/nativemodule/core headers from the public tier to the for-frameworks tier:

  • TurboModuleBinding.h - not called by native module authors,
  • JavaInteropTurboModule.h (Android) and RCTInteropTurboModule.h (iOS) - legacy

The C++ API snapshots are regenerated: these symbols are removed from the Debug, Release and Newarch snapshots and stay in the Frameworks snapshots.

Changelog: [Internal]

Differential Revision: D124104733

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

meta-codesync Bot commented Oct 8, 2026

Copy link
Copy Markdown

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

@facebook-github-tools facebook-github-tools Bot added the p: Facebook Partner: Facebook label Oct 8, 2026
@meta-codesync meta-codesync Bot changed the title Make TurboModule host integration headers for-frameworks Make TurboModule host integration headers for-frameworks (#58955) Oct 8, 2026
coado added a commit to coado/react-native that referenced this pull request Oct 8, 2026
Summary:

Move the following `react/nativemodule/core` headers from the public tier to the for-frameworks tier:

- `TurboModuleBinding.h` - not called by native module authors,
- `JavaInteropTurboModule.h` (Android) and `RCTInteropTurboModule.h` (iOS) - legacy

The C++ API snapshots are regenerated: these symbols are removed from the Debug, Release and Newarch snapshots and stay in the Frameworks snapshots.

Changelog: [Internal]

Differential Revision: D124104733
@coado
coado force-pushed the export-D124104733 branch from fa457df to ec1cd5f Compare October 8, 2026 14:43
coado added 3 commits October 8, 2026 07:43
Summary:

Move `ViewPropsInterpolation.h` from the public tier of the C++ stable API to the private tier, and remove it from the `<React/View.h>` umbrella.

The header defines `interpolateViewProps`, an inline helper that interpolates opacity and transform between two `ViewProps` during a layout animation. It is an implementation detail of React Native's layout animation system, the only code that calls it, and it is not part of the API for component authors. No public or for-frameworks header includes it.

Changelog: [Internal]

Differential Revision: D123651988
Summary:

Move `LayoutConformanceComponentDescriptor.h`, `LayoutConformanceProps.h` and `LayoutConformanceShadowNode.h` from the public tier of the C++ stable API to the for-frameworks tier, and remove them from the `<React/View.h>` umbrella.

These headers implement the experimental `LayoutConformance` core component. Native component authors do not use them, but a platform that registers React Native's core components does: `YogaLayoutableShadowNode::resolveErrata` checks for `LayoutConformanceShadowNode` with a `dynamic_cast` to choose the Yoga errata, so a platform has to register React Native's own descriptor for the component to have any effect. That makes them framework-author API rather than private headers. The `LayoutConformance` enum and its conversions stay public in `primitives.h` and `conversions.h`.

Changelog: [Internal]

Differential Revision: D123895702
Summary:

Move the following `react/nativemodule/core` headers from the public tier to the for-frameworks tier:

- `TurboModuleBinding.h` - not called by native module authors,
- `JavaInteropTurboModule.h` (Android) and `RCTInteropTurboModule.h` (iOS) - legacy

The C++ API snapshots are regenerated: these symbols are removed from the Debug, Release and Newarch snapshots and stay in the Frameworks snapshots.

Changelog: [Internal]

Differential Revision: D124104733
@coado
coado force-pushed the export-D124104733 branch from ec1cd5f to 25e3810 Compare October 8, 2026 14:45

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