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

Same action is detected multiple times in middleware #61

Closed
wheel1992 opened this issue Jul 10, 2018 · 0 comments
Closed

Same action is detected multiple times in middleware #61

wheel1992 opened this issue Jul 10, 2018 · 0 comments

Comments

@wheel1992
Copy link

wheel1992 commented Jul 10, 2018

Hi, I've been having this issue for quite a while.

In a StatelessWidget screen, I've executed store.dispatch(insertListAction(...)). A middleware is used to insert a list of objects into a database.

However, insertListAction is called more than once when I've debug in console log. The call for store.dispatch is executed once.

@wheel1992 wheel1992 changed the title Action is executed multiple times Action is dispatched multiple times in Middleware Jul 10, 2018
@wheel1992 wheel1992 changed the title Action is dispatched multiple times in Middleware Action is detected multiple times in Middleware Jul 10, 2018
@wheel1992 wheel1992 changed the title Action is detected multiple times in Middleware Same action is detected multiple times in Middleware Jul 10, 2018
@wheel1992 wheel1992 changed the title Same action is detected multiple times in Middleware Same action is detected multiple times in middleware Jul 10, 2018
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