redux-devtools-extension icon indicating copy to clipboard operation
redux-devtools-extension copied to clipboard

Prevent Devtools from automatically switch instances

Open OClement opened this issue 5 years ago • 5 comments

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.

OClement avatar Jan 15 '19 16:01 OClement

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

Empowerful avatar Feb 19 '19 21:02 Empowerful

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?

JerryDoubleU avatar Jun 12 '19 15:06 JerryDoubleU

No way to stop it yet but there are workarounds.

Empowerful avatar Jul 19 '19 17:07 Empowerful

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

gregkonush avatar Mar 19 '20 20:03 gregkonush

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 😢

aprilandjan avatar Sep 14 '20 11:09 aprilandjan