acdlite / acdlite/redux-batched-updates

Dispatch returns undefined in certain cases.

未关闭
#1 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
223
派生
12
PR 合并指标
30 天内没有已合并 PR

描述

I brought up this issue in rackt/redux#481.

Im not sure if this can be solved from a code point of view but it might be worth documenting the issue with dispatch result being undefined in certain cases.
- middleware needs to come after thunk, promise or any middleware where you expect a value to be returned.
- with non-thunk actions you will not be able to access the return value.

Perhaps worth listing [redux-batched-subscribe](https://github.com/tappleby/redux-batched-subscribe) as an alternative.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。