Created
March 15, 2017 19:57
-
-
Save geetotes/9462a7e07fec84857f14191bda2a9fd8 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
class NeatoComponent extends React.Component { | |
render() { | |
// Guard clause | |
if (this.props.user === undefined) { | |
return null; | |
} | |
/* | |
* Actual render code here | |
*/ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment