Stward
Stward
TTCTheo's Typesafe Cult
Created by MaxControl on 3/11/2024 in #questions
Do server components cache their results with React Query?
useQuery can only be used in a client component, anyway. So you'll get caching and all the goodies from TanStack Query. If you're prefetching on the server, I'm not entirely sure, but my guess is that you could invalidate the query on the client, if needed. Might be helpful to read more about this: https://tanstack.com/query/latest/docs/framework/react/guides/advanced-ssr.
3 replies
TTCTheo's Typesafe Cult
Created by arete on 8/15/2023 in #questions
shadcn ui table
Oh, lol. Good to know it’s been solved then!
30 replies
TTCTheo's Typesafe Cult
Created by arete on 8/15/2023 in #questions
shadcn ui table
Just wrap it up in a div with full width.
30 replies
TTCTheo's Typesafe Cult
Created by jeromemarshall on 3/21/2023 in #questions
Next-auth useSession throws an exception in prod. Please help
Glad you solved it!
7 replies
TTCTheo's Typesafe Cult
Created by jeromemarshall on 3/21/2023 in #questions
Next-auth useSession throws an exception in prod. Please help
Ok, cool.
7 replies
TTCTheo's Typesafe Cult
Created by jeromemarshall on 3/21/2023 in #questions
Next-auth useSession throws an exception in prod. Please help
Could it be that maybe <Header /> is outside the scope of next-auth provider?
7 replies