Skip to content

How to lazy load images if not in viewport? #118

Answered by igordanchenko
masterbater asked this question in Q&A
Discussion options

You must be logged in to vote

react-photo-album renders images with loading="lazy" attribute, so images below the fold are lazy-loaded by default.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@igordanchenko
Comment options

@igordanchenko
Comment options

Answer selected by igordanchenko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants