cssta
cssta copied to clipboard
Enable Animation useNativeDriver where possible
I think we can enable it on
- opacity
- transforms
First of all, thanks for this beautiful library.
What is the situation with this issue?
I haven't done it. Are you now getting warnings about needing to explicitly set true
/false
?
I haven't done it. Are you now getting warnings about needing to explicitly set
true
/false
?
Yes, yellow box appears with useNativeDriver warning.
I can take a look when I have a bit more free time. Or I can take a look at PRs if anyone wants to take a stab at it.
Hello fix this ; useAnimation.ts and useTransition.ts files Animated.timing(animation, { useNativeDriver: true } );