-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Order of middleware stack, and thunk #9
Comments
From http://gaearon.github.io/redux/docs/api/applyMiddleware.html:
But I agree it's not enough. |
@gaearon Sure! I'll aim to get to it this week. |
Closing as inactive. |
see #173 |
I've been debugging an issue for the last while, and the crux of the issue is that
thunk
sat further down the middleware stack than it should, causing me some rather opaque errors.In particular,
devTools
ran before it, and was throwing an exception as it tried to interpret the result returned from an action creator.My fix involved changing from this
to this
Is it worthwhile stating on the
README
thatthunk
must be run before other middleware, or is this issue specific todevTools
?The text was updated successfully, but these errors were encountered: