redux localstorage simple:将Redux状态保存到LocalStorage或从LocalStorage加载Redux状态 源码
Redux-LocalStorage-简单 将Redux状态保存到LocalStorage并从中加载。 安装 npm install --save redux-localstorage-simple 使用示例(ES6代码) import { applyMiddleware , createStore } from "redux" import reducer from "./reducer" // Import the necessary methods for saving and loading import { save , load } from "redux-localstorag
用户评论