Summary
In this chapter we reviewed the differences between the declarative and the imperative APIs for lottie-react-native
, which can be used to control the looks and the playback of our animation. On top of that, we learned how to use React Native's Animated API to smoothly control the progress of a Lottie animation.
In the next chapter, we will go through some of the most common issues, pitfalls, and problems we may face when using lottie-react-native
in our React Native apps.