What are animations in React Native?

The animation is a method in which images are manipulated to appear as moving objects. React Native animations allows you to add extra effects, which provide great user experience in the app. We can use it with React Native API, Animated.parallel, Animated.decay, and Animated.stagger.

React Native has two types of animation, which are given below.

  • Animated: This API is used to control specific values. It has a start and stops methods for controlling the time-based animation execution.
  • LayoutAnimated: This API is used to animate the global layout transactions.