00000
000003d ago

how can I set up trpc to work with nested providers?

Hi, I have two separate clients with their own typings and HTTP links, and I wrap my application in nested providers—one for each client—with their own QueryClient instances. However, regardless of which client I use, the runtime always sends the request to the URL specified in the innermost provider. The typings and client definitions appear correct, but at runtime both clients' queries are routed to the endpoint of the innermost provider. Any help would be greatly appreciated!
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?