Replies: 2 comments
-
I have seen this happening on few other websites listed here on #10640 I wonder why no one is talking about it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Your usage of Link is incorrect: Should be: <Link href="/test/[id]" as="/test/1"> |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
If there is dynamic link on the page and on click of that link, the new page is full page load instead of loading as is like router.push way.
To Reproduce
git clone https://github.com/umakantp/next-routes-bug
cd next-routes-bug && npm install && npm run dev
It reloads full page
on the page.Expected behaviour
It should load the dynamic route as is like how SPA page open (like how route.push works)
System information
Additional context
This bug has been happening on our live website as well. It doesn't happen when the route is not dynamic.
Beta Was this translation helpful? Give feedback.
All reactions