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

try without ResizeObserver #6

Open
chrisdrackett opened this issue Apr 16, 2018 · 0 comments
Open

try without ResizeObserver #6

chrisdrackett opened this issue Apr 16, 2018 · 0 comments

Comments

@chrisdrackett
Copy link
Owner

we could store the element width and height in state and only trigger a re-render if they are different from the stored values. We could also sync to animation frame and see if this is faster overall, or if we get benefits from using resize-observer-polyfill

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