Link to the same page not reloading the page #63926
Unanswered
phstc
asked this question in
App Router
Replies: 1 comment
-
|
I see |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an app with a sidebar; I have a few menu items on that sidebar. Let's say there's a menu item called People:
If I click on People, it opens
/people, where I can filter people by name. This changes the URL to/people?name=...and lists filtered people by name.The issue: I'm currently on
/people?name=..., and then I click again on the People link on the sidebar to load/people. Next.jsLinkchanges the URL from/people?name=...to/peoplebut does not update the page, so the page is still filtering by name.Replacing
Linkwithaworks, but then it will reload the whole page.Any other suggestions?
Beta Was this translation helpful? Give feedback.
All reactions