Next routing issue
Unanswered
Great black wasp posted this in #help-forum
Great black waspOP
Hello, I have a problem like this, when I enter my site from the incognito tab and press the redirect button, which is the a element before the data is loaded, I am not redirected to the page in any way and then the data stops loading, no a tag starts to work.
I tried next/link with prefetch=false and router.push and it didn't work as expected
my nextjs version: "next": "^14.2.14",
I tried next/link with prefetch=false and router.push and it didn't work as expected
my nextjs version: "next": "^14.2.14",
14 Replies
Great black waspOP
but when I pressed the button, the page request was being pulled without any problem.
but for some reason it doesn't redirect to the page
what do you mean "from the hidden tab"?
Great black waspOP
console logs:
GET /page-al?_rsc=1ru9v 200 in 716ms
GET /page-al?_rsc=bbgh2 200 in 702ms
GET /page-al?_rsc=bbgh2 200 in 629ms
GET /page-al?_rsc=bbgh2 200 in 538ms
GET /page-al?_rsc=1ru9v 200 in 716ms
GET /page-al?_rsc=bbgh2 200 in 702ms
GET /page-al?_rsc=bbgh2 200 in 629ms
GET /page-al?_rsc=bbgh2 200 in 538ms
incognito tab
can you share a video?
Great black waspOP
yes, one min
Great black waspOP
I caught something like this in the network
Original message was deleted
can you inspect element on the button?
Great black waspOP
just button element
i saw on a github issue page that I could use refresh, but it didn't do much
I couldnt replicate the issue :(
Great black waspOP
I solved it, the whole page was suddenly freezing due to some sub-components giving errors, actually not really next/link related