-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(gatsby-remark-images): Add support for native lazy loading #16448
feat(gatsby-remark-images): Add support for native lazy loading #16448
Conversation
cc85dee
to
7115433
Compare
Nice! Perhaps we could default to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I went ahead and added a small warning in case the user passes in an invalid value
Thank you so much @gabefromutah 👍
…ark-images-lazy-loading
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
…ark-images-lazy-loading
Published in |
Description
gatsby-image
has already implemented this feature a while back. Now that Chrome 76 is available, let us also updategatsby-remark-images
to support lazy-loading. This is one of my first PRs and I'm not 100% certain I've covered all the areas to make this happen.Fixes #15716