I've got React, Redux and Devtron devtools working in Electron, but can't get apollo-client-devtools working.
I'm using electron-devtools-installer
and the following:
installer.default('jdkknkkbebbapilgoeccciglkfbmbnfm', true )
.then((name) => console.log(name, ' INSTALLED\n'))
.catch((err) => console.log('An error occurred: ', err))
Outputs:
Apollo Client Developer Tools INSTALLED
I'm using the same tool to download the other devtools as well.
However, when I open Electron devtools, I only see React, Redux and Devtron devtools, no sign of Apollo devtools.
I followed the logic and it looks like it's supposed to only instantiate if window.__APOLLO_CLIENT__
is set, and process.env.NODE_ENV
is not production, and both are the case for me. . .but I still get no Apollo dev tools.
I have a pretty similar setup (same React/Apollo setup) in just a simple JS web app, and Apollo Dev Tools are present in Chrome, but just not in Electron.
I'll try and dig and see if I can find anything.