Extensions
With extensions, we can extend the functionality of the MiniRx Store.
#
What's IncludedMiniRx Store comes with following extensions:
- Redux Dev Tools Extension: Inspect global state with the Redux Dev Tools
- Immutable Extension: Enforce state immutability
- Undo Extension: Undo dispatched actions
- Logger Extension: console.log the current action and updated state
#
Register ExtensionsExtensions can be registered by providing a configuration object to the store
.
The extensions
property accepts an array of Extension instances.
For example: