rsnext/test/integration/image-component
Steven 4c872cb2dc
Fix next/image usage in most cases of onLoad() (#36176)
Even though we never documented it, the `onLoad` prop used to work (in most cases) in Next.js 12.1.4 and broke in 12.1.5 once the code was refactored in PR #35889.

We still shouldn't document it because `onLoad` doesn't work in all cases so [`onLoadingComplete`](https://nextjs.org/docs/api-reference/next/image#onloadingcomplete) is preferred, however tests were added for the cases that do work.

Use cases that don't work with `onLoad` are Data URLs as well as `loading="eager"`.
2022-04-15 15:02:23 +00:00
..
asset-prefix make static image import output path consistent with other media (#30168) 2021-10-22 13:25:54 +00:00
base-path Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00
basic Fix leaking internal config to user-defined loader prop in next/image (#36013) 2022-04-08 22:19:25 +00:00
custom-resolver Update test set-up to leverage playwright when able to (#28634) 2021-09-13 14:36:25 +02:00
default Fix next/image usage in most cases of onLoad() (#36176) 2022-04-15 15:02:23 +00:00
image-from-node-modules fix: next/image usage from node_modules (#33559) 2022-02-08 19:55:53 -05:00
noscript Update test set-up to leverage playwright when able to (#28634) 2021-09-13 14:36:25 +02:00
react-virtualized test: add inline flight response reuse test (#34364) 2022-02-15 18:53:45 +00:00
svgo-webpack Update test set-up to leverage playwright when able to (#28634) 2021-09-13 14:36:25 +02:00
trailing-slash make static image import output path consistent with other media (#30168) 2021-10-22 13:25:54 +00:00
typescript Add support for AVIF to next/image (#29683) 2021-10-11 23:17:47 +00:00
unicode Fix invalid character in next/image header "Content-Disposition" (#30287) 2021-11-01 19:23:24 -04:00