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

Discuss adding batch middleware to Redux #523

Open
solkaz opened this issue May 22, 2017 · 0 comments
Open

Discuss adding batch middleware to Redux #523

solkaz opened this issue May 22, 2017 · 0 comments

Comments

@solkaz
Copy link
Collaborator

solkaz commented May 22, 2017

See here for why this is a better idea

The TL;DR though is that every time we dispatch an action, we need to recalculate the new props and possibly re-render components. Instead, we can batch actions into a single dispatch, cutting down on the number of re-renders necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant