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:
Sam Ko
2024-10-01 22:07:29 +00:00
committed by GitHub
co-authored by Zack Tanner
parent a9c045de13
commit bed511c774
@@ -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: