Skip to content
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

Redux not dispatching #4

Closed
cyeluri opened this issue Aug 21, 2019 · 1 comment
Closed

Redux not dispatching #4

cyeluri opened this issue Aug 21, 2019 · 1 comment

Comments

@cyeluri
Copy link

cyeluri commented Aug 21, 2019

redux-example.zip

Hi,
I tried your example with latest react and redux versions and I am stuck where posts action is not dispatching payload and store is not getting update.

Can you please point me where I am wrong?

@cyeluri
Copy link
Author

cyeluri commented Aug 23, 2019

Hi,
Fixed this issue by adding action.type in postReducer in the switch. which is my mistake.
switch(action.type) {

@cyeluri cyeluri closed this as completed Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant