tRPCttRPC
Powered by
.westsaid.
tRPC•4y ago•
7 replies
.westsaid

How to use trpc react hooks from an external data source

Hi,
I have a monorepo, nextjs and keystone cms. The cms has trpc running, and I managed to get it connected to my nextjs. Is it possible for example to use the useQuery hook with that connection? Atm I use
createTRPCProxyClient
createTRPCProxyClient
from "@trpc/react", but it seems to be the same as I would import it from "@trpc/client". See screenshot

Thanks for any help! 🙂
unknown.png
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

How to use NextJS tRPC client without hooks?
imhoffdIimhoffd / ❓-help
3y ago
tRPC + React Query Data Invalidation?
rhh4x0RRrhh4x0R / ❓-help
2y ago