Skip to content

remove useNativeDriver under featureflag animatedForceNativeDriver#57211

Open
zeyap wants to merge 1 commit into
react:mainfrom
zeyap:export-D108193641
Open

remove useNativeDriver under featureflag animatedForceNativeDriver#57211
zeyap wants to merge 1 commit into
react:mainfrom
zeyap:export-D108193641

Conversation

@zeyap

@zeyap zeyap commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

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.

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

Differential Revision: D108193641

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.

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

Differential Revision: D108193641
@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 15, 2026
@meta-codesync

meta-codesync Bot commented Jun 15, 2026

Copy link
Copy Markdown

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

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 Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant