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

Examples: todomvc: Removed precondition to clear completed todo's #1257

Merged
merged 1 commit into from
Jan 24, 2016
Merged

Examples: todomvc: Removed precondition to clear completed todo's #1257

merged 1 commit into from
Jan 24, 2016

Conversation

DerekCuevas
Copy link
Contributor

Perhaps this is an optimization to prevent against an unneeded re-render. However this may be adding more confusion to the example than benefit. Am I wrong by removing this?

@gaearon
Copy link
Contributor

gaearon commented Jan 24, 2016

Good point, I'm not sure why the check was there to begin with.
Thanks!

gaearon added a commit that referenced this pull request Jan 24, 2016
Examples: todomvc: Removed precondition to clear completed todo's
@gaearon gaearon merged commit 254c306 into reduxjs:master Jan 24, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants