Marcus
TTCTheo's Typesafe Cult
•Created by Marcus on 11/2/2023 in #questions
Is there a way to refactor the query/mutation function to a different file?
Basically I'm wondering if it's possible to get the type of the function that's passed into the query/mutation function
3 replies
TTCTheo's Typesafe Cult
•Created by Marcus on 10/21/2023 in #questions
Why is there a trpc/client and a trpc/server?
I started messing around with create t3 app with app dir and I'm wondering why there's a createTRPCReact (~/trpc/react) and a createTRPCProxyClient (~/trpc/server). What do each of these files do?
5 replies