4c872cb2dc
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"`. |
||
---|---|---|
.. | ||
asset-prefix | ||
base-path | ||
basic | ||
custom-resolver | ||
default | ||
image-from-node-modules | ||
noscript | ||
react-virtualized | ||
svgo-webpack | ||
trailing-slash | ||
typescript | ||
unicode |