Created
December 15, 2017 20:02
-
-
Save abustamam/9cf77622fbf7125a824a48af775f1833 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
areStatesEqual: (prev, next) => { | |
return ( | |
prev.users.all === next.users.all | |
); | |
} | |
// should be | |
areStatesEqual: (next, prev) => { | |
return ( | |
prev.users.all === next.users.all | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment