Skip to content

sync lastest NativeAnimatedHelper to macos (#57257)#57257

Closed
zeyap wants to merge 2 commits into
react:mainfrom
zeyap:export-D108926246
Closed

sync lastest NativeAnimatedHelper to macos (#57257)#57257
zeyap wants to merge 2 commits into
react:mainfrom
zeyap:export-D108926246

Conversation

@zeyap

@zeyap zeyap commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary:

Changelog:

[Internal] [Added] - sync lastest NativeAnimatedHelper to macos

Reviewed By: christophpurrer

Differential Revision: D108926246

@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 Jun 17, 2026
@meta-codesync

meta-codesync Bot commented Jun 17, 2026

Copy link
Copy Markdown

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

zeyap added 2 commits June 17, 2026 14:10
…ForceNativeDriver" (react#57250)

Summary:

## Changelog:

[General] [Added] - remove `useNativeDriver` under featureflag animatedForceNativeDriver

When `animatedForceNativeDriver` is enabled, it forces `useNativeDriver` to `true` for all Animated animations and events, overriding the config (explicit `false` set by user will be no-op). Has no effect unless the shared animated backend is enabled, which is required to support native driver for all props.

When calling `NativeAnimatedHelper.isNativeDriverForced`, do null check first for backward compatibility in rn-macos

Also using this flag to gate the js animation logic that could be cleaned up when this path is fully working.

Reviewed By: javache, bmsdave

Differential Revision: D108880837
Summary:

## Changelog:

[Internal] [Added] - sync lastest NativeAnimatedHelper to macos

Reviewed By: christophpurrer

Differential Revision: D108926246
@meta-codesync meta-codesync Bot changed the title sync lastest NativeAnimatedHelper to macos sync lastest NativeAnimatedHelper to macos (#57257) Jun 17, 2026
@zeyap zeyap force-pushed the export-D108926246 branch from 0533730 to 567c198 Compare June 17, 2026 21:10
@meta-codesync meta-codesync Bot closed this in faf0951 Jun 18, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Jun 18, 2026
@meta-codesync

meta-codesync Bot commented Jun 18, 2026

Copy link
Copy Markdown

This pull request has been merged in faf0951.

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 Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant