acdlite / acdlite/redux-batched-updates

Dispatch returns undefined in certain cases.

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
223
Forks
12
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.