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.
L
LunaCrafts550d ago
If not, is this scenario going to be supported anytime soon?
AK
Alex / KATT 🐱550d ago
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...
L
LunaCrafts550d ago
Thank you Alex!! 🙏