siim
siimā€¢2y ago

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
ability to have multiple TRPC Providers by KATT Ā· Pull Request #304...
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...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?