Replies: 1 comment
-
|
I need to see a codesandbox with that error before I can say anything about that |
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.
-
Hi,
I've trying to migrate
CRAapp toNext.JSwithapprouter, but I'm losing the boundary forRQinside the server components after two sequentialredirects.When I'm redirected to first subpath from
/to/path1I'm trying to prefetch query and dehydrate the cache inside the server components in Next.JS 14 but it throwsjsonsyntax error:unhandledRejection: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSONwhen running:req.json()This is weird because no problem with the same query on the client side exists, it's just
GETendpoint, but the secondprefetchquery works without problem.BR
Beta Was this translation helpful? Give feedback.
All reactions