question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warn when user specifies prefetch option as `true`

See original GitHub issue

Next.js now automatically prefetches, so we should warn and link them to documentation.

We should also explain prefetching can be disabled with prefetch={false}.

Sample message:

As of Next.js 1.2.3, <Link> auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: xxxx

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
nataliemarlenycommented, Aug 3, 2019

I’m about to open a PR for this issue

0reactions
balazsorban44commented, Jan 31, 2022

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Warn when user specifies prefetch option as true #8211 - GitHub
My bad, I was thinking about "Prefetching Imperatively". This only applies for Link s right? All reactions.
Read more >
Link prefetching FAQ - HTTP - MDN Web Docs
When the user clicks on a link, or initiates any kind of page load, link prefetching will stop and any prefetch hints will...
Read more >
Prefetching - Redux Toolkit
The goal of prefetching is to make data fetch before the user navigates to a page or attempts to load some known content....
Read more >
Route prefetching in Next.js - web.dev
Press `Control+Shift+J` (or `Command+Option+J` on Mac) to open DevTools. Click the Network tab. Select the Disable cache checkbox. Reload the ...
Read more >
Consumer Prefetch - RabbitMQ
Consumer prefetch is an extension to the channel prefetch mechanism. AMQP 0-9-1 specifies the basic.qos method to make it possible to limit the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found