Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: next/link component - remove note about on hover #70473

Open
dannytlake opened this issue Sep 25, 2024 · 0 comments
Open

Docs: next/link component - remove note about on hover #70473

dannytlake opened this issue Sep 25, 2024 · 0 comments
Labels
Documentation Related to Next.js' official documentation.

Comments

@dannytlake
Copy link

What is the documentation issue?

The documentation for prefetch of the next/link component references behavior about prefetching on hover, see the documentation for when prefetch={false}. There is no documentation on how hover will impact prefetching for if prefetch={null} or prefetch=true

I don't see any actual implementation of the Link component reacting to hover events, so I think this documentation is out of date, especially since the current behavior of Link will either prefetch some level of data (depending on what you've set prefetch to, either null or true), or, it will not prefetch at all (by setting it to false).

image

Is there any context that might help us understand?

see above

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/app/api-reference/components/link#prefetch

@dannytlake dannytlake added the Documentation Related to Next.js' official documentation. label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

No branches or pull requests

1 participant