Manqo
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Manqo on 3/23/2025 in #questions
Fetching User Session Data on the Client Side with useSession
Thanks from your response, what if we use TRPC and get the useSession from there like this
app/utils/userClient.ts:
server/api/routers/user.ts:
app/_component_dashboard-content.tsx:
Could u fetch the current logged user like this?
20 replies
TTCTheo's Typesafe Cult
•Created by Manqo on 3/12/2025 in #questions
Handling Async Params and Suspense Queries in a T3 Stack Next.js App
I have also tried it without the use of react:
But for some reason the id is undefined?
5 replies