Akita provides integration with the Redux dev-tools chrome extension.
Install the devtools package:
And add the
If you're not using Angular, you can call the
akitaDevtools function directly:
The plugin supports the following options passed as the second function parameter:
maxAge: Maximum amount of actions to be stored in the history tree.
actionsBlacklist: Disallow the passed actions.
actionsWhitelist: Allow only the passed actions.
storesWhitelist: Display only the passed stores.
logTrace: Whether to output a console.trace() for each action in the console.
shallow - Whether to perform a deep compare before showing an action.
By default, Akita will do its best to describe the actions that occurred, but you can always define your own actions for debugging purposes. For example:
Or as a function:
Custom actions will only be dispatched upon a store update.