Skip to content

Make ViewPropsInterpolation.h private - #58944

Open
coado wants to merge 1 commit into
react:mainfrom
coado:export-D123651988
Open

coado wants to merge 1 commit into
react:mainfrom
coado:export-D123651988

Conversation

@coado

@coado coado commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

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 `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
@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 p: Facebook Partner: Facebook 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 D123651988.

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