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 from "@trpc/react", but it seems to be the same as I would import it from "@trpc/client". See screenshot
Thanks for any help!
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 from "@trpc/react", but it seems to be the same as I would import it from "@trpc/client". See screenshot
Thanks for any help!
