tRPCttRPC
Powered by
hov_sH
tRPC•3y ago•
8 replies
hov_s

createTRPCNext and createTRPCProxyClient within one NextJs app

Hey, Is there any possibility to use createTRPCNext and createTRPCProxyClient clients in one NextJs app? I have a use-case where I need to use a vanilla client to fetch data in my app but I don't want to lose the possibility of using useQuery and useMutation hooks in my components.
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Difference between createTRPCNextAppDirServer, createTRPCNext and createTRPCProxyClient?
MaksMMaks / ❓-help
3y ago
onSuccess with createTRPCProxyClient
BillyBobBBillyBob / ❓-help
2y ago
tRPC, NextJS 14, createTRPCProxyClient, How can I globally manage errors?
BillyBobBBillyBob / ❓-help
3y ago
createTRPCNext type error
MonkeyStructMMonkeyStruct / ❓-help
3y ago