ember install ember-redux-freeze
//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.