Simon Verhoeven
Simon Verhoeven
TTCTheo's Typesafe Cult
Created by Simon Verhoeven on 8/11/2024 in #questions
t3 tRPC - CTX is undefined
Hey @Hobbs no. I think I am experiencing something similar to this https://discord.com/channels/966627436387266600/988912020558602331/1270507000371085382 CTX is null for the first call. For now I am just either - Using server components to fetch the data (as this issue happens only on use client components) - Pre fetching in a parent server component seems to fix it But yeh I would still like to understand the issue here, why the sever render on a use client component has ctx undefined
4 replies