Some Links freeze when refreshing the page
See original GitHub issueBug 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:
- Created 4 years ago
- Reactions:4
- Comments:8 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, this issue is a duplicate of the above. We’re going to be trying to solve it soon! 🙏
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.