The effect is nice, but what if you take the time to download all those images, but the user never…
Rodrigo Silveira

Definitely Rodrigo, in an app with a lot more images we would want to combine the effect with an infinite scroll. We would track the viewer's scrolling position to determine when to fetch more images from the API.

Those fetched images could then be rendered into the DOM using the effect described in this post. Hope that helps!

Show your support

Clapping shows how much you appreciated Andrew Wong’s story.