Commit e406def
authored
This recommendation to use `priority` instead of `loading=eager` is a
little confusing.
We don't want `priority` to be overused because it can hurt performance
so we can remove this recommendation from the documentation.
TLDR:
- use `priority` for LCP like a hero image above the fold
- use `loading=eager` for other images above the folder
- use `loading=lazy` (default) for everything below the fold
- use `fetchPriority=high` if you want to load an image out of order
that its found in the document
1 parent c0722a5 commit e406def
File tree
2 files changed
+0
-8
lines changed- docs
- 02-app/02-api-reference/01-components
- 03-pages/02-api-reference/01-components
2 files changed
+0
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
377 | | - | |
378 | 376 | | |
379 | 377 | | |
380 | 378 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | 224 | | |
231 | 225 | | |
232 | 226 | | |
| |||
0 commit comments