Apollo DevTools no longer work with two ApolloClient instances #720
Replies: 1 comment
-
Hmm - if AC devtools worked with multiple clients somehow before, that was fluke. That wasn’t / isn’t a supported feature. The old communication model involved talking to Apollo Client through a global environment variable, and that same environment variable was used by any We could consider adding this functionality in the future, but that will require a UI overhaul as 2 AC instances means 2 different caches / 2 different query lists / 2 different mutation lists / etc. It would also require us to add some kind of a toggle when using the integrated explorer, so we know which AC instance you want to run your operation with. This could be a large amount of work to accommodate. I'll move this to a feature request. Thanks @josoroma! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Apollo DevTools no longer work with two ApolloClient clients, we are using
apollo.tsx
andapolloRefresh.tsx
, the first one is our global client, which makes use of apolloRefresh.tsx to get a new refresh cookie and token.Beta Was this translation helpful? Give feedback.
All reactions