Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Allow specifying whether to use useNativeDriver #394

Merged
merged 2 commits into from
May 13, 2020

Conversation

pxpeterxu
Copy link

Motivation/原因

On Android, using useNativeDriver speeds up animations a lot.
用android时,useNativeDriver 会提高动画的效率。

Change

Allow passing in a prop (useNativeDriver) which determines whether animations are animated with useNativeDriver. Defaults to false.

加一个 useNativeDriver 的 prop,让用户选择是否使用原生动画驱动。默认 false

@ArtemKolichenkov
Copy link
Collaborator

Looks great! Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants