n1xx1
Explore posts from serversTTCTheo's Typesafe Cult
•Created by n1xx1 on 5/11/2023 in #questions
Typescript Inference for getServerSideProps-like function
I managed to find a solution, if anyone is interested: https://tsplay.dev/Nr9KVw
3 replies
TTCTheo's Typesafe Cult
•Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
I guess I never tried without doing a full refresh B)
46 replies
TTCTheo's Typesafe Cult
•Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
ok I see what's going on, the data is changing but react-hook-form won't update your default variables
46 replies
TTCTheo's Typesafe Cult
•Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
also make sure you're on next 13.4 I guess, I remember some issues with dev mode page caching
46 replies
TTCTheo's Typesafe Cult
•Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
also it's a page with params, it's dynamic by default, it's not supposed to cache anything. try to reproduce in the codesandbox, maybe it's helpful!
46 replies
TTCTheo's Typesafe Cult
•Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
I mean, it's supposed to work like you expect. I'm not sure what's going on
46 replies
TTCTheo's Typesafe Cult
•Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
does
export const dynamic = "force-dynamic"
help?46 replies
TTCTheo's Typesafe Cult
•Created by Ben on 12/12/2022 in #questions
Image Fetching bug with NextJS
anyway you are modifying something that is managed by react manipulating the dom, it usually is a bad idea anyway.
9 replies
TTCTheo's Typesafe Cult
•Created by Ben on 12/12/2022 in #questions
Image Fetching bug with NextJS
it may be some issues with streaming. are you using the app dir?
9 replies
TTCTheo's Typesafe Cult
•Created by mqix on 12/14/2022 in #questions
mantime vs chakra
i like chakra
49 replies