siimS
tRPCโ€ข3y agoโ€ข
1 reply
siim

Multiple React Providers?

I'm trying to have multiple providers in the same react (they can't be merged w/ virtual routing). I'm trying to follow the example in this PR, but I can't get it working. https://github.com/trpc/trpc/pull/3049

No matter what I try, I get the error No QueryClient Set even though there is one and it's setup just like the test.

Anyone have success with this?
GitHub
Closes #2121
๐ŸŽฏ Changes

Adds the ability to have multiple TRPC providers in the same app
Note: #2986 is another approach to the same problem that should work for all monorepo-style setups, this app...
ability to have multiple TRPC Providers by KATT ยท Pull Request #304...
Was this page helpful?