You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I agree. Especially since @tappleby removed redux-batched-updates from the Redux ecosystem docs: reduxjs/redux@dee3f07
Which is confusing because most of the issues and talk mentions redux-batched-updates.
I brought up this issue in reduxjs/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.
Perhaps worth listing redux-batched-subscribe as an alternative.
The text was updated successfully, but these errors were encountered: