mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
docs(link): add mention about how App Router prefetches on hover (#70679)
## Why? There is no mention of how App Router uses hover for prefetching (`null`, and `true`). There is only a mention of hover for the `false` state. --------- Co-authored-by: Zack Tanner <[email protected]>
This commit is contained in:
@@ -291,7 +291,7 @@ export default function Home() {
|
||||
|
||||
<AppOnly>
|
||||
|
||||
Prefetching happens when a `<Link />` component enters the user's viewport (initially or through scroll). Next.js prefetches and loads the linked route (denoted by the `href`) and its data in the background to improve the performance of client-side navigation's. **Prefetching is only enabled in production**.
|
||||
Prefetching happens when a `<Link />` component enters the user's viewport (initially or through scroll). Next.js prefetches and loads the linked route (denoted by the `href`) and its data in the background to improve the performance of client-side navigations. If the prefetched data has expired by the time the user hovers over a `<Link />`, Next.js will attempt to prefetch it again. **Prefetching is only enabled in production**.
|
||||
|
||||
The following values can be passed to the `prefetch` prop:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user