eiriklv / react-masonry-component

A React.js component for using @desandro's Masonry
MIT License
1.44k stars 145 forks source link

Virtual render for big number of items? #39

Open YarivGilad opened 8 years ago

YarivGilad commented 8 years ago

Hi, Just wanted to ask if there is a way to use virtual rendering to be able to render a big number of items and implement infinite scrolling... I use this Masonry component to render "cards" that each contains a small image gallery. it renders great with a small number of items, but with a few hundreds it gets clunky... is there a virtual rendering at all to ensure only the part of the least being rendered is the part that consumes memory while all the rest is free from it? Cheers Ajar

afram commented 8 years ago

hi @Ajar-Ajar react-masonry-component is composable with potential solutions for this, though you'd have to write one up or find something that works. It doesn't support it out of the box.

Hazantip commented 8 years ago

@Ajar-Ajar @afram Is someone found solution for this?