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

Allow redispatching from within Reducers? #12

Open
Qata opened this issue Jul 2, 2021 · 0 comments
Open

Allow redispatching from within Reducers? #12

Qata opened this issue Jul 2, 2021 · 0 comments

Comments

@Qata
Copy link
Member

Qata commented Jul 2, 2021

Should redispatching from within Reducers be allowed to prevent the double up of checking state with the middleware and then reacting to it with a redispatch?
In the current model, you're both reacting in a reducer to the state change, and preempting that state change in middleware before it even happens. This is far from ideal.

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