Last active
November 7, 2017 14:56
-
-
Save anhtuank7c/e2450fa693ae0974f67b178e195c0c93 to your computer and use it in GitHub Desktop.
How to use nativeDriver in React Native Animations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
useNativeDriver: | |
- docs: https://facebook.github.io/react-native/docs/animations.html#using-the-native-driver | |
- whitelist: https://github.com/facebook/react-native/blob/master/Libraries/Animated/src/NativeAnimatedHelper.js#L147 | |
- example: | |
https://github.com/facebook/react-native/issues/9864#issue-176486623 | |
https://snack.expo.io/HJYvJKI3l | |
https://medium.com/xebia/linking-animations-to-scroll-position-in-react-native-5c55995f5a6e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment