Chapter 8: Installing lottie-react-native
Before using lottie-react-native, we need to install the library into our React Native project as a node module so we can import it inside the code base of our app. To perform this installation, we have two different options:
- npm
- Yarn
Both tools will result in the same output (lottie-react-native) and its dependencies will be installed inside the node_modules folder inside our React Native project folder. Using one tool or another will be up to each developer and should not influence the resulting product in any way.
The topics we will cover in this chapter are as follows:
- Basic installation (using npm or Yarn)
- Dependencies of lottie-react-native
- iOS requirements when installing lottie-react-native ...
Get UI Animations with Lottie and After Effects 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.