r/reactnative • • Nov 25 '19

https://github.com/tienph6m/react-native-animated-spinkit - A pure JavaScript port of SpinKit for React Native

286 Upvotes

34 comments sorted by

View all comments

1

u/Nikosssgr Nov 25 '19

Why didn't you use react native reanimated instead?

4

u/tienph6m Nov 26 '19 edited Nov 26 '19

Good question. I think reanimated really shines when it's used with react-native-gesture-handler or when you're doing some animations that can't run entirely on the UI thread with Animated. Since I was able to make all the animations run on the UI thread with Animated's native driver, I don't see any real benefits of using reanimated and the library would have to require an extra native dependency.

2

u/[deleted] Nov 26 '19

This is the right answer. rn-reanimated isn’t just blanketly better every time.