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
According to this post, in the original redux-thunk middleware, the call:
constres=store.dispatch({type: 'MY_THUNK'});
should return whatever is returned by the thunk function. This is especially important when the thunk function is async, as it returns a Promise, and allows for thunk chaining:
According to this post, in the original redux-thunk middleware, the call:
should return whatever is returned by the thunk function. This is especially important when the thunk function is async, as it returns a Promise, and allows for thunk chaining:
Right now, the thunk middleware in redux-first-router returns the action itself, which is almost never useful.
The text was updated successfully, but these errors were encountered: