redux-freezer
v1.0.6
Published
Freeze redux stores to ensure immutability
Downloads
13
Maintainers
Readme
#redux-freezer
Redux middleware that freezes store state after each update. HTML elements referenced in the store are not frozen.
Usage:
import {freezer} from 'redux-freezer';
const store = compose(
applyMiddleware(freezer)
)(createStore)(rootReducer);
Uses lodash.