I've rewritten the component so that it incubates the objects as you scroll (meaning the thumbnails appear as fast as possible). Any cards that go out of the viewport are then set invisible to allow for increased performance. Resizing the window doesn't destroy the 'live' cards and instead reanchors them to their new positions so you get an animation.
I've rewritten the component so that it incubates the objects as you scroll (meaning the thumbnails appear as fast as possible). Any cards that go out of the viewport are then set invisible to allow for increased performance. Resizing the window doesn't destroy the 'live' cards and instead reanchors them to their new positions so you get an animation.
Please rereview :)