microsoft / redux-micro-frontend

This is a library for using Redux to manage state for self-contained apps in a Micro-Frontend architecture. Each self-contained isolated app can have its own isolated and decoupled Redux store. The componentized stores interact with a global store for enabling cross-application communication.
MIT License
344 stars 64 forks source link

Adding redux-devtools-extension #2

Closed deepakparamesh closed 3 years ago

deepakparamesh commented 3 years ago

Adding the popular redux-devtools-extenstion to make the debugging in this redux pattern easier.

while creating the store using CreateStore() method, by simply enabling the "debugMode" parameter to true, we can leverage the help of redux-devtools-extension to debug the state of the application. By default, the "debugMode" is set to false.

Sample Code to enable the debug tool:

this.store = this.globalStore.CreateStore("CounterApp", CounterReducer, [], false, false, true);

More info about extension : https://github.com/zalmoxisus/redux-devtools-extension#usage

ghost commented 3 years ago

CLA assistant check
All CLA requirements met.