Skip to content

Classify react/renderer/animated internals as private - #58882

Open
coado wants to merge 1 commit into
mainfrom
export-D123404796
Open

coado wants to merge 1 commit into
mainfrom
export-D123404796

Conversation

@coado

@coado coado commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Summary:
All headers in react/renderer/animated were classified as "for frameworks". Most of them are implementation details of the C++ Native Animated engine: the concrete animation drivers, the concrete animated node types, and the internal/ helpers. They are not part of the integration surface hosts use, and none of the remaining "for frameworks" headers includes them (the manager headers only forward-declare AnimatedNode, AnimationDriver and AnimatedMountingOverrideDelegate).

This moves those 23 headers to the private tier:

  • drivers/: AnimationDriver.h, AnimationDriverUtils.h, DecayAnimationDriver.h, FrameAnimationDriver.h, SpringAnimationDriver.h
  • internal/: AnimatedMountingOverrideDelegate.h, NativeAnimatedAllowlist.h, primitives.h
  • nodes/: all concrete node types except the AnimatedNode base class

Changelog: [Internal]

Differential Revision: D123404796

Summary:
All headers in `react/renderer/animated` were classified as "for frameworks". Most of them are implementation details of the C++ Native Animated engine: the concrete animation drivers, the concrete animated node types, and the `internal/` helpers. They are not part of the integration surface hosts use, and none of the remaining "for frameworks" headers includes them (the manager headers only forward-declare `AnimatedNode`, `AnimationDriver` and `AnimatedMountingOverrideDelegate`).

This moves those 23 headers to the private tier:
- `drivers/`: `AnimationDriver.h`, `AnimationDriverUtils.h`, `DecayAnimationDriver.h`, `FrameAnimationDriver.h`, `SpringAnimationDriver.h`
- `internal/`: `AnimatedMountingOverrideDelegate.h`, `NativeAnimatedAllowlist.h`, `primitives.h`
- `nodes/`: all concrete node types except the `AnimatedNode` base class

Changelog: [Internal]

Differential Revision: D123404796
@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

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

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

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.

2 participants