jkob_
TRPC Vanilla Client (T3 stack)
Hey - had the same issue and think I have figured out a solution.
The
useQuery
options were all coming from createTRPCNext<AppRouter>
. I think this creates the ability to get the frontend hooks but doesn't create the normal async await versions.
If you create an additional object, a createTRPCProxyClient<AppRouter>
I think that creates the async/await queries you might be looking for4 replies