In the past, I have used LayoutAnimation.scaleXY
to animate the flex
of a View
at a very high framerate. Now, I want to use Animated
to animate flex
and achieve a similar high framerate.
I know I cannot use useNativeDriver: true
to animate flex
.
Does LayoutAnimation
always run animations natively? If so, how can it run a flex
animation while Animated
with useNativeDriver: true
cannot?
Is there a way around this? I want to run my flex
animation in parallel with many other animations (e.g. opacity
, translate
, and scale
) and without useNativeDriver: true
the animation is unacceptably choppy.
P.S. My question addresses flex
but are there any notable differences for height
and/or width
?