.westsaid.
tRPC4y 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
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
Was this page helpful?