Ricardo Canastro @canastro.dev · Dec 25

Next, I tried blurring the currently displayed image and adding a loading spinner while fetching the next one. It looked better, but the transitions still felt slow and awkward—blurring an already fully loaded image didn’t feel right.

0 likes 1 replies

?

Replies

Ricardo Canastro · Dec 25

Finally, I implemented an optimistic pre-fetching strategy: while viewing an image, the assets to its left and right in the gallery are preloaded. This way, transitions feel instant when navigating between images.