kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.39k stars 5.88k forks source link

lazy load + unload #3919

Open hariria opened 4 years ago

hariria commented 4 years ago

unload after viewing

More Details

I have a use-case where each slide item is pretty complex and i have potentially 100s of items. I currently use lazy-load which is great for the first few items, but then gets exponentially worse as I add more and more items. If there was a way to unload the items after you've viewed them (ie. after swiping left to go to the next image) that could significantly help the runtime of my use case. Is there any chance you guys could develop something like this?

lioryemini commented 3 years ago

Agree with @hariria . Unlike tables, for carousels it's unnecessary to keep the data of non-active slides.