Skip to content

Latest commit

 

History

History

redux-cube-with-immutable

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

redux-cube-with-immutable

< Back to Project WebCube

NPM Version

Nodei

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() {
    // ...
  }
}