MarshallOfSound / electron-devtools-installer

An easy way to ensure Chrome DevTools extensions into Electron
MIT License
1.12k stars 137 forks source link

redux developer tools working very intermittently? #160

Open ericblade opened 3 years ago

ericblade commented 3 years ago

I'm really not sure even how to diagnose where this is going wrong -- I have an app that I had just built a tiny little html page out of as a simple prototype. I decided that rebuild it with React/Redux/etc. I'm attempting to use this package to install React and Redux dev tools .. I've now got React dev tools working well, but the Redux dev tools frequently just say "No store found. Make sure to follow the instructions." If I open the application outside of Electron, in a regular web browser, the Redux dev tools work just fine.

Sometimes, the Redux dev tools work, though if I refresh the page (via hot reload, or using ctrl-r to reload), then they will stop working.

Regardless of if they work or not, I see this error on console after starting:

image

Any tips for any more things I can look into to help figure out what the problem might be and fix it?

jameslh commented 3 years ago

I have this same issue, but I did find that if I close the dev tools panel and then reopen it, then at least the redux panel will display correctly again without me having to restart the entire app.

bennymeg commented 2 years ago

To fix these errors you will need to pick up the new redux extension version. You can update it by temporarily changing this line in our code:

- installExtension(REDUX_DEVTOOLS}});
+ installExtension(REDUX_DEVTOOLS, { forceDownload: true }});