react-native-reanimated provides an API that greatly simplifies the process of creating smooth, powerful, and maintainable animations. From the project's README:
It provides a more comprehensive, low level abstraction for the Animated library API to be built on top of and hence allow for much greater flexibility especially when it comes to gesture based interactions.
Note that when you run the project you will get a warning about an incompatible version:
Some of your project's dependencies are not compatible with currently installed expo package version:
- react-native-reanimated - expected version range: ~1.13.0 - actual version installed: 2.0.0-alpha.6
You can ignore this, as you are intentionally opting in to an experimental feature.
You should refer to the react-native-reanimated docs for more information on the API and its usage. But the following example (courtesy of that repo) is a quick way to get started.