rsnext/test/integration/next-image-new/app-dir
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 fix(next/image)!: error when src has leading or trailing space (#65637) 2024-05-14 18:00:27 +00:00
components chore: run all tests for next/image against app dir (#47267) 2023-03-23 22:02:40 +00:00
public Add unstable_getImgProps export from next/image (#51205) 2023-06-29 01:35:08 +00:00
test fix(next/image): undo tight coupling between priority=true and fetchPriority=high (#67351) 2024-07-01 14:42:42 -04:00
next.config.js Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00
style.module.css chore: run all tests for next/image against app dir (#47267) 2023-03-23 22:02:40 +00:00