redux-cube-with-immutable
v1.0.10
Published
redux-cube's pluggable module for react-immutable
Downloads
18
Maintainers
Readme
redux-cube-with-immutable
redux-cube's pluggable module for redux-immutable
npm install --save redux-cube-with-immutable
NOTE: redux-cube-with-immutable cannot be used with redux-cube-with-persist
Get Started
// xxx/App.jsx
import { createApp } from 'redux-cube';
import withImmutable from 'redux-cube-with-immutable';
import withRouter from 'redux-cube-with-router';
@createApp(withImmutable(withRouter({
reducers: {
// ...
},
// ...
}))))
class SubApp extends PureComponent {
render() {
// ...
}
}