$ npm install dva-immer
Create the next immutable state tree by simply modifying the current tree
$ npm install dva-immer --save
const app = dva();
app.use(require('dva-immer').default());
some like umi-plugin-dva line 106
Look more Immer
© 2010 - cnpmjs.org x YWFE | Home | YWFE