Multiple React providers
Good morning! Is there any workaround, how to use multiple trpc-client instances with react-query?
I wanted to share react-client between multiple instances, and I ended up with trpc calls to last-provided trpc address.
3 Replies
If not, is this scenario going to be supported anytime soon?
GitHub
Using multiple TRPC clients in the same app ยท Issue #2121 ยท trpc/tr...
Discussed in #1990 Originally posted by dodas June 14, 2022 I am trying to have multiple TRPCRouters on backend and separate TRPCClients to access them. Looking at the way react hooks / contexts ar...
Thank you Alex!! ๐