Quantcast
Channel: React Native Animation Book
Viewing all articles
Browse latest Browse all 40

Animated

$
0
0

Animated

Unlike LayoutAnimation, the Animated library is extremely configurable and can target very specific components. However, it currently runs on the JavaScript side, utilizes requestAnimationFrame to animate the values and setNativeProps in order to send specific values back to the native world.

This can have some down falls. Most notably, because it's running in the JavaScript world, in the event you have a setState that triggers a diff, and thus may take some time, you can see your animations stutter.


Viewing all articles
Browse latest Browse all 40




Latest Images