文件名称:redux-localstorage-simple:将Redux状态保存到LocalStorage或从LocalStorage加载Redux状态
文件大小:94KB
文件格式:ZIP
更新时间:2024-02-26 16:05:12
redux localstorage ReduxJavaScript
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
【文件预览】:
redux-localstorage-simple-master
----src()
--------index.js(16KB)
----.babelrc(60B)
----LICENSE(1KB)
----test()
--------test_.js(14KB)
--------test.js(54KB)
--------webpack.config.test.js(394B)
--------test.html(2KB)
----README.md(11KB)
----todo.txt(101B)
----dist()
--------index.d.ts(817B)
--------index.js(14KB)
----.gitignore(51B)
----package-lock.json(278KB)
----package.json(1KB)