Redux-devtools-extension: Prevent Devtools from automatically switch instances

Created on 15 Jan 2019  路  5Comments  路  Source: zalmoxisus/redux-devtools-extension

When multiple stores are available across tabs/windows, the extension tends to switch between them automatically whenever a state change (or action fires, it is not clear which is the trigger), despite explicitly selecting a specific instance.

In some cases this will cause confusions as to which store we're looking at if we don't realize it was switched. Some apps might periodically fire actions causing multiple switching happening in close succession, making the tools almost impossible to use.

Most helpful comment

Strong agreement鈥攊t's impossible for me to use the tool to debug an instance when it keeps switching automatically to a different one.

All 5 comments

Strong agreement鈥攊t's impossible for me to use the tool to debug an instance when it keeps switching automatically to a different one.

Absolutely, we have a page which runs another page in an iframe, both use NgRx, developing is really painful with that automatic switching. Has anyone find a way to stop that?

No way to stop it yet but there are workarounds.

is it possible also to have a filter for redux instances?

I'm working on an electron app which contains other sites as webview when init. The redux devtools extension change instances so frequently, and finally stop at No store found. Most likely you did not allow access to file URLs. and I am not able to switch manually. Hope there's some option to disable that 馃槩

Was this page helpful?
0 / 5 - 0 ratings

Related issues

born2net picture born2net  路  4Comments

dreszczyk picture dreszczyk  路  4Comments

michaelwalloschke picture michaelwalloschke  路  3Comments

sthiago picture sthiago  路  4Comments

Koleok picture Koleok  路  4Comments