With the Redux Dev Tools Extension we can easily inspect state and actions.
MiniRx has basic support for the Redux Dev Tools. These are the current possibilities:
- Inspect current state
- See the history of actions
- Inspect the action payload of all actions in the history
- Time travel to previous actions to restore previous states
You need to install the Browser Plugin to make it work.
Configure the store with the
If you are using Angular you have to register the
StoreDevtoolsModule from 'mini-rx-store-ng'.
See Angular Redux Dev Tools for more information.
Currently, these options are available to configure the DevTools:
name: the instance name to be shown on the DevTools monitor page.
maxAge: maximum allowed actions to be stored in the history tree. The oldest actions are removed once maxAge is reached. It's critical for performance. Default is 50.
latency: if more than one action is dispatched in the indicated interval, all new actions will be collected and sent at once. Default is 500 ms.