zalmoxisus / redux-devtools-extension

Redux DevTools extension.
MIT License
13.49k stars 1.01k forks source link

Two DevTools open show the same store #705

Open pmirandaarias opened 4 years ago

pmirandaarias commented 4 years ago

I have two tabs of Chrome, one has my localhost where I'm working on React with Redux, and it has the devtool open, and the other tab I have my email from Outlook.

When I open the devtool for the tab of my email (outlook) it keep showing me the store of my localhost. green is correct, red is incorrect:

image

Richardtugwell commented 4 years ago

I spotted this as well. It seems that the extension has access to all stores in all tabs (look in instances). If you open it for a tab which has no store, then it seems to just select the last one. Not sure if this can be configured. (NB I'm using it with Akita stores)

pmirandaarias commented 4 years ago

In this case both tabs has store. Outlook uses ReactJS with Store

Richardtugwell commented 4 years ago

Hey Paolo - yes that is weird. I'm curious that Outlook exposes the store in devtools for a start - I thought that was a build option - but I'm not an expert! However I do see the correct stores when I have Outlook in one tab and for example a local development site in another.

paddotk commented 4 years ago

Any updates since 2019? Could this be fixed? It's super confusing seeing Redux stores from other sites (the extension once simply said 'No redux detected' when a site didn't use Redux) and I can't see any reason to do it like this.