ember-redux-freeze
v1.0.0
Published
Redux middleware that prevents state from being mutated anywhere in the app
Downloads
84
Readme
ember-redux-freeze
Installation
ember install ember-redux-freeze
Usage
//app/middleware/index.js
import thunk from 'redux-thunk';
import { freeze } from 'ember-redux-freeze';
import config from '../config/environment';
let middleware = [thunk];
if (config !== 'production') {
middleware.push(freeze);
}
export default middleware;
To learn more about redux-freeze
and how to use it visit the redux-freeze Github page.