Open shivam0831 opened 3 years ago
Hi @shivam0831 , I can't give your tips without any code or informations about your usage of the lib.
As it renders all particles at the same time in parallel, you can obviously use a reasonable amount of items, like 100 or 150 max, to avoid performances issues.
I'd like to add that this lib uses native rendering and RN API (Animated / Animations), to animate them, so I don't see how I can improve it :)
@shivam0831 I found that you can conditionally render the Confetti component when you want to show confetti. Maybe this part can be put in documentation as a warning. Putting 200 (as shown in the example) is quite a lot and causes app to load.
Also, @VincentCATILLON maybe if autoStart
is set to start to false you can not create the items in the starting. And only when start method is called?
fist time , too slow
@VincentCATILLON Any update on the library? There are Pull Requests
that are very useful waiting for you to merge. I'm also experiencing this slow performance on android. I had to lower the confetti count to 100
instead of 200
. The performance delay is still a bit noticeable tho
two years on... guess it's a gonner :(
while using this library in android after using this library app works very slow. any suggestions to solve this?