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

Page doesn't re-render when the link points to the same URL but with different param. #10400

Closed
Shaker-Hamdi opened this issue Feb 3, 2020 · 3 comments

Comments

@Shaker-Hamdi
Copy link

Next version: 9.1.5
React version: 16.12.0

I'm having an issue when I'm on a page with a URL /items/7/details and I have a link on the same page that points to the same URL but with different id like ...

<Link href="/items/[itemId]/details" as="/items/3/details">
	<a>Link Text</a>
</Link>

The page doesn't re-render and I don't get the new content, I have to refresh the page to get the new data.

What am I doing wrong here?

@Janpot
Copy link
Contributor

Janpot commented Feb 3, 2020

Could it be that you're hitting this issue #9992?

@Shaker-Hamdi
Copy link
Author

@Janpot Yup it is the same issue, I didn't notice that issue thread.
It is a weird issue.
Thanks for pointing me to the right place :D

@balazsorban44
Copy link
Member

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.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants