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.

Some Links freeze when refreshing the page

See original GitHub issue

Bug report

Describe the bug

Some Link components stops working in development and production

To Reproduce

here is a live example https://frontend-e4m1qf1rc.now.sh/ (note: there is popup ads, i hope you have an adblock) 1- Click on any news article, if you click on the home Link or the Logo link in the header, everything works as expected. but when clicking on a news article, and refresh the page, and clicking on the home Link, the Link freezes and it’s not routing to the proper route 2- This also occurs when going directly to a news article from a full url(domaine.com/news/some-slug)

Expected behavior

for the Link components to route to the desired route without freezing

Screenshots

this is how i use Link for those non-working routes:

<Link href="/" prefetch>
  <a className={classes.homeLink} title="home">
    home
  </a>
</Link>

System information

  • Browser: chrome 75.0.3770.100 64bit
  • Version of Next.js: 9.0.2

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
Timercommented, Aug 1, 2019

Yeah, this issue is a duplicate of the above. We’re going to be trying to solve it soon! 🙏

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

Opening a link or a page hangs until stopped and refreshed
Opening a link or a page hangs until stopped and refreshed · Method 1: Run the Internet Explorer performance troubleshooter and check. ·...
Read more >
Web page hangs on reload/refresh - apache 2.2 - Server Fault
I'm experiencing a strange problem with my website. If I navigate through links inside the website everything is fine, and pages load fast....
Read more >
IE Is Stuck in Continuous Refresh - Small Business - Chron.com
If Internet Explorer becomes stuck in a refresh loop on every page you visit, your computer may have a malicious software infection designed...
Read more >
Refreshing page - view "freeze" at DIV? - Stack Overflow
I've created a scrollTo function with jQuery , it works fantastically. But, as I refresh the page after clicking the arrow that scrolls...
Read more >
Page frozen when refreshing and/or loading dynamic page
There aren't any logs, but one weird behaviour is that if i refresh the page some times (5-10 times) then the bug disappears....
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