react-native-confetti-cannon icon indicating copy to clipboard operation
react-native-confetti-cannon copied to clipboard

Thinking of implementing with Reanimated 2?

Open doertli opened this issue 4 years ago • 5 comments

doertli avatar Oct 08 '20 12:10 doertli

Hey @doertli ,

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

VincentCATILLON avatar Oct 08 '20 16:10 VincentCATILLON

Smoother on more devices, works on React Native Web.

doertli avatar Oct 09 '20 02:10 doertli

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.

VincentCATILLON avatar Oct 09 '20 14:10 VincentCATILLON

@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

UrionBlade avatar Jul 29 '21 14:07 UrionBlade

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.

bsmayer avatar Jul 28 '22 19:07 bsmayer