问题标签 [react-redux-notify]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
2 问题
0
投票
0
回答
261
浏览
reactjs - React redux 通知重新匹配问题
使用 rematch: redux 框架从模型构建存储时呈现 Notify(触发 onClick 的通知组件)组件时遇到问题。dispatch(createNotification(config))
正在触发但它没有更新状态。知道为什么吗?我的猜测是重新匹配框架没有正确绑定 notifyReducer。在 redux devtools 这就是我得到的:
行动:
状态:
模型/通知.js
store.js
容器/ExampleComponentContainer.js
组件/示例组件
0
投票
2
回答
12332
浏览