Skip to content

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

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

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]

Reviewed By: cortinico

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.

@meta-codesync meta-codesync Bot changed the title Classify react/renderer/animated internals as private Classify react/renderer/animated internals as private (#58882) Oct 8, 2026
meta-codesync Bot pushed a commit that referenced this pull request Oct 8, 2026
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]

Reviewed By: cortinico

Differential Revision: D123404796
@meta-codesync
meta-codesync Bot force-pushed the export-D123404796 branch from 954c8c5 to f054c67 Compare October 8, 2026 08:57
meta-codesync Bot pushed a commit that referenced this pull request Oct 8, 2026
Summary:
Pull Request resolved: #58882

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]

Reviewed By: cortinico

Differential Revision: D123404796
@meta-codesync
meta-codesync Bot force-pushed the export-D123404796 branch from f054c67 to c34cb3c Compare October 8, 2026 09:02
Summary:
Pull Request resolved: #58882

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]

Reviewed By: cortinico

Differential Revision: D123404796
@meta-codesync
meta-codesync Bot force-pushed the export-D123404796 branch from c34cb3c to 6e5b88c Compare October 8, 2026 09:06
@meta-codesync meta-codesync Bot closed this in e5b4b7f Oct 8, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Oct 8, 2026
@meta-codesync

meta-codesync Bot commented Oct 8, 2026

Copy link
Copy Markdown

This pull request has been merged in e5b4b7f.

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.

2 participants