VincentCATILLON / react-native-confetti-cannon

React Native confetti explosion and fall like iOS does.
https://vincentcatillon.github.io/react-native-confetti-cannon
MIT License
471 stars 61 forks source link

Thinking of implementing with Reanimated 2? #37

Open doertli opened 3 years ago

VincentCATILLON commented 3 years ago

Hey @doertli ,

maybe, why not, what is the benefit of implementing an extra lib versus using native APIs exposed by RN ?

doertli commented 3 years ago

Smoother on more devices, works on React Native Web.

VincentCATILLON commented 3 years ago

I need to check the difference in performances (but it uses native driver and native API), and this version already works with react-native-web as you can see in the demo page.

UrionBlade commented 3 years ago

@VincentCATILLON implementing this with react native reanimated will improve performance. Animated from react native is using javascript thread while react native reanimated use just UI thread. That's mean react native reanimated can perform 60FPS also on the older android devices

bsmayer commented 2 years ago

Are you still considering this?

Reanimated 2 would give this library 60fps and much better performance on Android. At the moment I can only enable that on iOS since Android can be a lot slower on a variety of devices. I can help with the implementation is needed.