【文件属性】:
文件名称:react-notification-system-redux:用于React通知系统的Redux包装器
文件大小:52KB
文件格式:ZIP
更新时间:2021-03-11 15:44:06
系统开源
react-notification-system-redux
将包装到一个组件中,并公开动作和reducer。
公开征求意见稿和捐款!
对于低于16的React版本,请使用v2.0.0以下的版本。
演示与范例
现场演示:
要在本地构建示例,请运行:
npm install
npm start
然后在浏览器中打开 。
通过NPM安装
npm install react-notification-system-redux react-notification-system --save
用法
导入reducer并将其传递到您的商店:
import { createStore , combineReducers } from 'redux' ;
import { reducer as notifications } from 'react-notification-system-
【文件预览】:
react-notification-system-redux-master
----.gitignore(293B)
----.babelrc(50B)
----.eslintrc(682B)
----package.json(2KB)
----src()
--------const.js(200B)
--------actions.js(999B)
--------notifications.js(2KB)
--------reducer.js(552B)
----.travis.yml(51B)
----gulpfile.js(686B)
----dist()
--------react-notification-system-redux.js(124KB)
----LICENSE(1KB)
----README.md(5KB)
----example()
--------src()
----.eslintignore(54B)
----lib()
--------const.js(355B)
--------actions.js(2KB)
--------notifications.js(7KB)
--------reducer.js(1KB)
----bower.json(643B)
----test()
--------__tests__()
--------utils()
--------mocha.opts(105B)
----.editorconfig(272B)