Redux-devtools: multi standalone redux application in the same page

Created on 21 May 2016  路  4Comments  路  Source: reduxjs/redux-devtools

Hey,

so I have more than one application within the page but sadly I can debug just one at a time and the only way for me to do so is to kill the other one.

Is there a feature that can toggle the two that I am missing? or there is other way to debug both application?

Thanks for the help

Most helpful comment

Starting from 2.0 the extension supports multiple stores in one page.

All 4 comments

Theoretically, you can specify stores by adding to DevTools props and opening DevTools in new windows.

Another option would be to use Remote Redux DevTools, where you can name every instance and easily switch between them.

how do you specify stores? and i tried to open Devtool in new window but it doesn't show all app stores that within the page(but does show app stores that in another page)

  • I am using the chrome extension.

Thanks

The extension will not work for multiple stores in one page as we're using tab id as the instance id there, as the result the latest store overrides everything else. In contrast Remote Redux DevTools creates a new connection for every store, an you'll get all the instances there.

Starting from 2.0 the extension supports multiple stores in one page.

Was this page helpful?
0 / 5 - 0 ratings