Skip to content

Add rn-tester example exercising every batched-animated prop#56734

Open
bartlomiejbloniarz wants to merge 3 commits intomainfrom
export-D102800169
Open

Add rn-tester example exercising every batched-animated prop#56734
bartlomiejbloniarz wants to merge 3 commits intomainfrom
export-D102800169

Conversation

@bartlomiejbloniarz
Copy link
Copy Markdown
Contributor

Summary:
Adds a new RNTester example under the Animation Backend section that runs a looping animation per each property handled by BatchedAnimatedPropsMountItem:

  • Top-level numeric props: opacity, elevation, zIndex, shadowOpacity, shadowRadius
  • Color props: backgroundColor, color (Text), tintColor (Image), and all
    borderColor / borderTopColor / borderBottomColor / borderLeftColor /
    borderRightColor / borderStartColor / borderEndColor variants
  • All 13 border-radius props (borderRadius and per-corner) in px units, plus
    borderRadius in percent units
  • All transforms: translateX/Y in px and percent, scale/scaleX/scaleY,
    rotate/rotateX/rotateY/rotateZ in deg and rad, skewX/skewY, perspective

Each row exercises one distinct command id from the buffer protocol decoded by BatchedAnimatedPropsMountItem, making it easy to visually verify that every supported animated prop survives the C++ to Java buffer round-trip.

Changelog:
[General][Added] - Add All Animated Props example to the rn-tester Animation Backend section

Differential Revision: D102800169

Bartlomiej Bloniarz and others added 3 commits May 7, 2026 04:27
Summary:
Add a new React Native feature flag, `optimizedAnimatedPropUpdates`, which gates an upcoming optimized code path for applying animated property updates from the C++ animation backend. The flag defaults to disabled and has no behavioural impact on its own.

Changelog:
[General][Added] - Add `optimizedAnimatedPropUpdates` feature flag

Differential Revision: D101157450
Summary:
Adds a new performance test example to the Animation Backend section in rn-tester. The example renders a grid of animated views to stress-test the animation backend.

Changelog:
[General][Added] - Add Performance Test example to the rn-tester Animation Backend section

Differential Revision: D104053337
Summary:
Adds a new RNTester example under the Animation Backend section that runs a looping animation per each property handled by BatchedAnimatedPropsMountItem:

- Top-level numeric props: opacity, elevation, zIndex, shadowOpacity, shadowRadius
- Color props: backgroundColor, color (Text), tintColor (Image), and all
  borderColor / borderTopColor / borderBottomColor / borderLeftColor /
  borderRightColor / borderStartColor / borderEndColor variants
- All 13 border-radius props (borderRadius and per-corner) in px units, plus
  borderRadius in percent units
- All transforms: translateX/Y in px and percent, scale/scaleX/scaleY,
  rotate/rotateX/rotateY/rotateZ in deg and rad, skewX/skewY, perspective

Each row exercises one distinct command id from the buffer protocol decoded by BatchedAnimatedPropsMountItem, making it easy to visually verify that every supported animated prop survives the C++ to Java buffer round-trip.

Changelog:
[General][Added] - Add All Animated Props example to the rn-tester Animation Backend section

Differential Revision: D102800169
@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 May 8, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels May 8, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 8, 2026

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

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. fb-exported 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