Joystream / atlas

Whitelabel consumer and publisher experience for Joystream
https://www.joystream.org
GNU General Public License v3.0
100 stars 44 forks source link

Add virtualization #60

Open kdembler opened 4 years ago

kdembler commented 4 years ago

Scope

Add virtualisation for

Context

Currently, all items in Carousel component are displayed as they are, which can cause performance problems when a lot of items are to be displayed.

We should consider adding virtualization so elements that are offscreen don't need to be rendered, possibly something like https://github.com/bvaughn/react-window

kdembler commented 3 years ago

At this point I'm not sure if we need that for the Carousel - it seems we'll never end up showing more than 10 items at a time there. This may be worth exploring for the infinite scroller though