-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(layout): performances optimization #53
base: master
Are you sure you want to change the base?
Conversation
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 |
* Apply changes from VincentCATILLON#53 * move from flow to tsc + fix types * update deps * do not push build directory * reapply changes from VincentCATILLON#53 * revert package name change
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