react redux notifications:Redux供电的通知React组件 源码
react-redux-notifications 假设您有一个带有API调用的表单,并且表单提交成功后,您想向用户显示成功消息,或者如果失败,则向他们显示失败消息。 React-redux-notifications是一个由redux中间件驱动的通知系统,它以分离的方式使此超级简单。 设置 // Reducer setup import { reducer as notifications } from 'react-redux-notifications' const todoApp = combineReducers ( { notifications , ... restOfMiddleware , } ) // Middleware setup import { middleware as NotificationMiddleware } from 'reac
文件列表
react-redux-notifications-master.zip
(预估有个22文件)
react-redux-notifications-master
tsconfig.build.json
761B
.gitattributes
11B
yarn.lock
257KB
.prettierignore
13B
src
InlineNotification.tsx
5KB
index.ts
321B
notifications.redux.ts
7KB
.vscode
暂无评论