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

Is this compatible with virtualization? #12

Closed
PabloMessina opened this issue Mar 21, 2018 · 1 comment
Closed

Is this compatible with virtualization? #12

PabloMessina opened this issue Mar 21, 2018 · 1 comment

Comments

@PabloMessina
Copy link

The demo looks incredibly smooth, but I'm wondering whether this is compatible with virtualization, i.e., just rendering the elements that are currently visible in the viewport, like react-virtualized Masonry (https://github.com/bvaughn/react-virtualized/blob/master/docs/Masonry.md). It would be great to have a react-masonry which is both this smoothly responsive and virtualized.

@paulcollett
Copy link
Owner

Hi @PabloMessina, to achieve this we'd be needing to render all the elements to get the heights before building the layout. In the interest of keeping this component fast on render changes with a small filesize we do not provide a lot of "extra" functionality like this and have been trying to avoid features that require this duel rendering

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

2 participants