rsnext/test/integration/image-component/default/pages
Joe Haddad c8fa284854
Control <Image /> prefetching with React (#18904)
This pull request fixes `<Image />` not updating when new props are passed by removing external DOM mutations and relying on React to do it instead.

As an added bonus, I've extracted the intersection observer from both the `<Image />` and `<Link />` component, as their instance can be shared!

The increase in size is minor (+3B), and actually a decrease for apps using both `<Image />` and `<Link />`.

---

Fixes #18698
Fixes #18369
2020-11-06 23:03:15 +00:00
..
flex.js Make lazy-loading the default for next/image (#18123) 2020-10-22 16:55:51 +02:00
index.js Deprecate Image unsized property and add layout="fill" (#18562) 2020-10-31 18:34:06 -04:00
invalid-src-proto-relative.js Print error when Image src is protocol-relative (#18809) 2020-11-04 20:47:49 +00:00
invalid-src.js Deprecate Image unsized property and add layout="fill" (#18562) 2020-10-31 18:34:06 -04:00
invalid-unsized.js Deprecate Image unsized property and add layout="fill" (#18562) 2020-10-31 18:34:06 -04:00
layout-fill.js Add props objectFit and objectPosition to Image component (#18849) 2020-11-05 19:42:55 +00:00
layout-fixed.js Add layout prop to Image component (#18491) 2020-10-30 10:33:34 -04:00
layout-intrinsic.js Add layout prop to Image component (#18491) 2020-10-30 10:33:34 -04:00
layout-responsive.js Add all deviceSizes to srcset for responsive and fill (#18594) 2020-10-31 20:26:57 -04:00
missing-src.js Add next/image default loader errors (#18152) 2020-10-25 00:22:47 -05:00
rotated.js Rotate image from EXIF data (#18687) 2020-11-02 16:26:03 +00:00
update.js Control <Image /> prefetching with React (#18904) 2020-11-06 23:03:15 +00:00