Created
January 8, 2020 02:16
-
-
Save datner/71c9258e074081af3babad0f52ba6f35 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 Thing extends React.Component { | |
constructor() { | |
super() | |
this.state = { | |
name: "Yuval Datner" | |
} | |
} | |
render() { | |
return ( | |
<div> {this.state.name} </div> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment