Skip to content

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.

2 participants