ryders_dad
ryders_dadโ€ข4mo ago

Is it possible to have more than one TRPC client (React Query)?

For example, if i have a multiple TRPC endpoints I want to communicate with
1 Reply
david
davidโ€ข4mo ago
@ryders_dad might be a bit cumbersome to deal with, there was some similar convo about it on GH though. perhaps this can give you some direction? https://github.com/trpc/trpc/discussions/1990
GitHub
Using multiple TRPC clients in the same app ยท trpc trpc ยท Discussio...
๐Ÿ‘‰๐Ÿ‘‰ ๐Ÿ‘‰ Moved to #2121 I am trying to have multiple TRPCRouters on backend and separate TRPCClients to access them. Looking at the way react hooks / contexts are set up, seems like there is no easy wa...