简介 通过包装reducer,创建一个state History,保留历史state,可以做退一步,进一步操作 1.install npm install --save redux-undo@beta import ReduxUndo from 'redux-undo'; 2.API(包装reducer,其中config参数为history配置) import undoable from 'redux-undo'; undoable(reducer) undoable(reducer, conf…