Created
March 18, 2016 02:15
-
-
Save devhyunjae/35b8e3b80341cb92fdd1 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
class AppES6 extends React.Component{ | |
constructor(){ | |
super(); | |
this.state = {foo: 1} | |
} | |
render() { | |
return( | |
<div>{this.state.foo}</div> | |
); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment