react-native-confetti-cannon
react-native-confetti-cannon copied to clipboard
fix(layout): performances optimization
Description
This PR implements the conditional rendering of the children according to animation. When the animation is running, the View nodes are mounted and they are unmounted after the animation finishes. I've also implemented 2 tests to test this behavior. This should provide a performance boost in the case of low-end devices. Unnecessary children are not rendered.
Related issues
- [x] #51 Android App is slow after using this library
This PR is awesome. Would love to see it merged.
Seems like a great change. Would also vote to merge this and get a new version published!
Voted.
@VincentCATILLON can we get this merged?
I think you should create a new repository, Vincent seems to have abandoned the project unfortunately
Hi @uragirii @alexcastillo @corbt @chrisedington @jonathanroze ,
Sorry about the delay. I'll take a look and post a review to be able to publish it as soon as possible 🙏
Thanks in advance for your contribution