Skip to content
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

Batch morphs #22

Closed
joeldrapper opened this issue Mar 8, 2024 · 0 comments
Closed

Batch morphs #22

joeldrapper opened this issue Mar 8, 2024 · 0 comments

Comments

@joeldrapper
Copy link
Collaborator

joeldrapper commented Mar 8, 2024

After #21, Morphlex will morph within an animation frame so the browser doesn't waste time rendering the DOM as it’s going through continuous transformations. I think we can extend this further with a “batch morphing” interface that wraps multiple morphs in a requestAnimationFrame callback. This would be especially useful for Phlex.js, where we might request a dozen fragments from the server and morph them all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant