rsnext/test/integration/next-image-new
Steven 73b552a9a5
fix(next/image): undo tight coupling between priority=true and fetchPriority=high (#67351)
## History

When we added `priority` prop to `next/image`, there was no
`fetchPriority` so we instead used this to preload the image in the
head.

Then when browsers added support `fetchPriority`, we automatically added
`fetchPriority=high` when `priority={true}` to signal to the browser
that this was a high priority image. This priority is added to the img
and the preload.

However, we saw cases where images are blocking critical css. Per
@gnoff:

> React currently prioritizes font preloads then high priority images,
then css in the initial page load

Due to these changes in React (aka Float), we should no longer set
`fetchPriority=high`, although the user can still manually add that prop
if needed.
2024-07-01 14:42:42 -04:00
..
app-dir fix(next/image): undo tight coupling between priority=true and fetchPriority=high (#67351) 2024-07-01 14:42:42 -04:00
app-dir-image-from-node-modules Rename process.env.TURBOPACK -> process.env.TURBOPACK_DEV in test skips (#63665) 2024-03-25 14:17:56 +01:00
asset-prefix Skip test/integration development tests during Turbopack build test run (#63671) 2024-03-25 18:37:34 +01:00
base-path Replace hasRedbox() (#67025) 2024-06-20 10:37:32 +02:00
both-basepath-trailingslash Skip test/integration development tests during Turbopack build test run (#63671) 2024-03-25 18:37:34 +01:00
default fix(next/image): undo tight coupling between priority=true and fetchPriority=high (#67351) 2024-07-01 14:42:42 -04:00
export-config Replace hasRedbox() (#67025) 2024-06-20 10:37:32 +02:00
image-from-node-modules Rename process.env.TURBOPACK -> process.env.TURBOPACK_DEV in test skips (#63665) 2024-03-25 14:17:56 +01:00
invalid-image-import Replace hasRedbox() (#67025) 2024-06-20 10:37:32 +02:00
loader-config Rename process.env.TURBOPACK -> process.env.TURBOPACK_DEV in test skips (#63665) 2024-03-25 14:17:56 +01:00
loader-config-default-loader-with-file Rename process.env.TURBOPACK -> process.env.TURBOPACK_DEV in test skips (#63665) 2024-03-25 14:17:56 +01:00
loader-config-edge-runtime Skip test/integration development tests during Turbopack build test run (#63671) 2024-03-25 18:37:34 +01:00
middleware Skip test/integration development tests during Turbopack build test run (#63671) 2024-03-25 18:37:34 +01:00
react-virtualized Rename process.env.TURBOPACK -> process.env.TURBOPACK_DEV in test skips (#63665) 2024-03-25 14:17:56 +01:00
svgo-webpack Skip test/integration development tests during Turbopack build test run (#63671) 2024-03-25 18:37:34 +01:00
trailing-slash Skip test/integration development tests during Turbopack build test run (#63671) 2024-03-25 18:37:34 +01:00
typescript Skip test/integration development tests during Turbopack build test run (#63671) 2024-03-25 18:37:34 +01:00
unicode Skip test/integration development tests during Turbopack build test run (#63671) 2024-03-25 18:37:34 +01:00
unoptimized Rename process.env.TURBOPACK -> process.env.TURBOPACK_DEV in test skips (#63665) 2024-03-25 14:17:56 +01:00