Apollo dev tool is broken for Apollo Client 3.0

I just recently upgrade my app from apollo client v2 to v3 and the apollo dev tool keeps crashing by throwing

RNDebuggerWorker.js:2 Uncaught TypeError: r.queryManager.mutationStore.getStore is not a function
    at te.<anonymous> (RNDebuggerWorker.js:2)
    at te.s.emit (RNDebuggerWorker.js:2)
    at RNDebuggerWorker.js:2
    at RNDebuggerWorker.js:2

image

I have done some research and find out this on apollo-client-devtools github readme file

If you are running Apollo Client 2.0, the dev tools require at least apollo-client@2.0.0-rc.2 and react-apollo@2.0.0-beta.0, and you must be running at least version 2.0.5 of the dev tools themselves.

If you are running Apollo Client 3.0, you must be running at least version 2.3.3 of the dev tools.

Can we upgrade apollo-client-devtools to at least version 2.3.3 ?

1 possible answer(s) on “Apollo dev tool is broken for Apollo Client 3.0

  1. Using 3.0 client as well, and I get exactly nothing in the Apollo dev tools. The cache is empty, even tho I can see the Apollo cache is being leveraged for sure in my app.

    @sebastienbarre try passing connectToDevTools: true to the ApolloClient constructor.