Created
May 27, 2016 20:08
-
-
Save gianlucacandiotti/33a843930a65855de50c9145e173abd7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
shouldComponentUpdate(nextProps, nextState) { | |
console.log('props') | |
console.log(this.props); | |
console.log(nextProps); | |
console.log(this.props === nextProps); | |
console.log('state') | |
console.log(this.state); | |
console.log(nextState); | |
console.log(this.state === nextState); | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment