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
CRA
app toNext.JS
withapp
router, but I'm losing the boundary forRQ
inside the server components after two sequentialredirects
.When I'm redirected to first subpath from
/
to/path1
I'm trying to prefetch query and dehydrate the cache inside the server components in Next.JS 14 but it throwsjson
syntax error:unhandledRejection: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
when running:req.json()
This is weird because no problem with the same query on the client side exists, it's just
GET
endpoint, but the secondprefetch
query works without problem.BR
Beta Was this translation helpful? Give feedback.
All reactions