You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9cf30b6
Browse filesBrowse the repository at this point in the historyBrowse files
(Redo D108193641) remove useNativeDriver under featureflag animatedForceNativeDriver" (#57250)
Summary:
Pull Request resolved: #57250
## 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
fbshipit-source-id: 2a061ddef3aa49893b88d81caa7f1fdbf28f7842
'When enabled, forces `useNativeDriver` to `true` for all Animated animations and events, overriding the config (including an explicit `false`). Has no effect unless the shared animated backend is enabled, which is required to support native driver for all props.',
* When enabled, forces `useNativeDriver` to `true` for all Animated animations and events, overriding the config (including an explicit `false`). Has no effect unless the shared animated backend is enabled, which is required to support native driver for all props.
0 commit comments