Commit e61ff9cb authored by Thomas Coopman's avatar Thomas Coopman

compare object identity is sufficient

parent 27b885f8
......@@ -62,7 +62,6 @@
*/
shouldComponentUpdate: function (nextProps, nextState) {
return (
nextProps.todo.id !== this.props.todo.id ||
nextProps.todo !== this.props.todo ||
nextProps.editing !== this.props.editing ||
nextState.editText !== this.state.editText
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment