Summary

In this chapter we have experimented with many forms of animation. LayoutAnimation is great for composing simple animations, particularly when animating the size and layout of multiple elements at once. In contrast, the Animated API allows for much finer-tuned, precise animations. Additionally, you can pair the Animated API with PanResponder to animate elements in response to user touch interactions.

With the majority of our app built, it's time we explored a new domain of React Native. In the next chapter, we'll configure our environments for testing on an Android emulator, and refactor our RNNYT app to work across iOS and Android.

Get Mastering React Native now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.