Created
June 14, 2017 10:47
-
-
Save anderslemke/ec931c11c605ad009c7d54476836e093 to your computer and use it in GitHub Desktop.
The `shouldComponentUpdate` of the LoadSequenceController used on Zetland.
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
shouldComponentUpdate(nextProps, nextState) { | |
if(window.__server) return true; | |
this.decideIfWeShouldShow(nextProps, nextState); | |
if ( nextState.actuallyShowing ) return true; | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment