-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support: Redux-Devtools Saying 'No Store Found' after Hot Reload in Electron #813
Comments
Im having exactly the same issue, if you dont reload it works fine. Dependencies:
This is how I setup the extension on main process:
this is my setup on store.ts
|
I noticed that if I close and open the dev tools window (Ctrl+Shift+I), the Redux DevTool extension is reconnected. So I just modified my
Specifically, I added...
|
This is happening to me as well. Makes it pretty tedious to have to reopen dev tools every time I edit something. Also @freddiehaddad solution above doesn't work anymore with my versions. Dependencies:
|
I'm using redux-toolkit to create a store for a React.js application in Electron.js with the following configuration:
store.ts
When Electron first starts in 'dev' mode, the Redux-Devtools extension loads showing the store state/actions as expected. As soon as I edit any component and the app recompiles/hot reloads, when the app refreshes the Redux-Devtools extension shows a blank screen with 'No Store Found'.
The store still works with the app components after the hot reload, it appears the only problem is the Devtools extension can't find the store.
Any ideas?
The text was updated successfully, but these errors were encountered: