js-lib-redux-state-history

时间:2021-05-24 03:40:16
【文件属性】:
文件名称:js-lib-redux-state-history
文件大小:25KB
文件格式:ZIP
更新时间:2021-05-24 03:40:16
JavaScript @ paysera / redux-state-history 一个简单的库,提供保存Redux状态并在需要时还原它的方法。 安装 通过软件包管理器要求软件包: npm i @paysera/redux-state-history 只需导入withHistory高阶减速器并用它包装减速器即可。 您也可以提供配置作为第二个参数。 import { withHistory } from '@paysera/redux-state-history' ; import { combineReducers } from 'redux' ; import fooReducer from './foo' ; import barReducer from './bar' ; import bazReducer from './baz' ; const config = { maxHistor
【文件预览】:
js-lib-redux-state-history-master
----.eslintrc(64B)
----webpack.config.js(574B)
----src()
--------constants()
--------service()
--------withHistory.js(1KB)
--------actions()
--------__tests__()
--------dispatchAction.js(99B)
--------error()
--------index.js(360B)
--------reducers()
----.babelrc(89B)
----.travis.yml(1KB)
----jest.config.js(155B)
----README.md(4KB)
----dist()
--------main.js(7KB)
--------main.js.map(17KB)
----.gitignore(42B)
----CHANGELOG.md(371B)
----package.json(2KB)

网友评论