GlimpseArchive / Glimpse.Client.Prototype

Glimpse v2 Client prototype
MIT License
9 stars 3 forks source link

Integrate Redux DevTools Chrome Extension Client #117

Closed philliphoff closed 8 years ago

philliphoff commented 8 years ago

Integrates the Redux DevTools Chrome Extension with the Client (if installed). The extension allows you to see redux actions and as they're dispatched and the resulting changes to application state as well as "time travel" by rolling back/forward actions.

screen shot 2016-05-31 at 3 32 06 pm

Note: this is the "lightweight" version integration that only works with the Chrome extension, but it prevents us from having to embed the tools within the Client itself.

avanderhoorn commented 8 years ago

I'm wondering if we want to put a switch in here so that the tools are explicitly excluded if we are in non debug mode...

philliphoff commented 8 years ago

That's a good idea. I've updated the PR with a Webpack switch to enable/disable the development tools (defaulting to disabled).