-
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
dispatched undefined action #91
Comments
Problem solved! Order in which I am applying middleware matters.
|
corysmc
added a commit
to corysmc/stencil-redux
that referenced
this issue
Jun 27, 2018
Changing the order fixes an “undefined action” that get’s logged - see this issue reduxjs/redux-thunk#91
corysmc
added a commit
to corysmc/stencil-redux-demo
that referenced
this issue
Jun 27, 2018
Changing the order fixes an “undefined action” that get’s logged - see this issue reduxjs/redux-thunk#91
boston-terrier-kirin
added a commit
to boston-terrier-kirin/react
that referenced
this issue
Oct 1, 2022
boston-terrier-kirin
added a commit
to boston-terrier-kirin/react
that referenced
this issue
Oct 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So here is the code I playing with
I believe it is pretty straightforward, right? I dispatch
REQ_USER_INIT
and then REQ_USER_DATA once the response is received. I should log two actions, however I get 3. Second action isundefined
and I am strugling to figure out what causes it. Is it a bug with redux-thunk or am I doing something wrong?Here is the output from my console.
The text was updated successfully, but these errors were encountered: