Helge
Helge
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Helge on 5/31/2023 in #questions
Next13 app-router: How to get request headers on client page comp?
@hutajoullach going the api route might be an option I didn’t try yet
8 replies
TTCTheo's Typesafe Cult
Created by Helge on 5/31/2023 in #questions
Next13 app-router: How to get request headers on client page comp?
@hutajoullach thanks for the tip. Importing headers does not work as my page is a client comp and headers from next/headers is required in a server comp
8 replies
TTCTheo's Typesafe Cult
Created by Helge on 5/31/2023 in #questions
Next13 app-router: How to get request headers on client page comp?
how would you read it on the server?
8 replies
TTCTheo's Typesafe Cult
Created by Helge on 3/10/2023 in #questions
vercel next13 app-router: routing on prod is not clientside
2 replies
TTCTheo's Typesafe Cult
Created by Helge on 11/1/2022 in #questions
[next13] dynamic page or function
Doing a noop with headers() also works but man why
7 replies
TTCTheo's Typesafe Cult
Created by Helge on 11/1/2022 in #questions
[next13] dynamic page or function
I tried that but the page is not getting refetched upon navigation. I tried setting it to 0 and 1 but again the content only refreshes when I do a hard refresh
7 replies