-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gatsby-plugin-image): image partial rendering (#30221)
* fix srcset in picture tag to make sure we control loading * SAVEPOINT * add ref * this is a key but it's not unique, we don't have an id * use cachekey * this makes way more sense * Update packages/gatsby-plugin-image/src/components/gatsby-image.browser.tsx * update test * order matters * mostly there, still need to bail out when image isn't available * fix the warnings * we shouldn't need to do this, but still verifying * remove console log * address comments * Update packages/gatsby-plugin-image/src/components/layout-wrapper.tsx Co-authored-by: Ward Peeters <ward@coding-tech.com> * Update packages/gatsby-plugin-image/src/components/layout-wrapper.tsx Co-authored-by: Ward Peeters <ward@coding-tech.com> * Update packages/gatsby-plugin-image/src/components/gatsby-image.browser.tsx Co-authored-by: Ward Peeters <ward@coding-tech.com> * eslint ignore needs to follow comments Co-authored-by: Ward Peeters <ward@coding-tech.com>
- Loading branch information
Showing
4 changed files
with
229 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.