Introduction
In order to provide a good user experience, we'll likely want to add some animations to direct the user's attention, to highlight specific actions, or just to add a distinctive touch to our app.
There's an initiative in progress to move all the processing from JavaScript to the native side. At the time of writing (React Native Version 0.58), we can choose to use the native driver to run all these calculations in the native world. Unfortunately, this cannot be used with all animations, particularly those related to layout, such as flexbox properties. Read more about caveats when using native animation in the documentation at http://facebook.github.io/react-native/docs/animations#caveats.
All of the recipes in this chapter use ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access