Created
July 5, 2016 03:50
-
-
Save renanccastro/92071006f0fedef4f5f46b3d3734553f 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
var HelloMessage = React.createClass({ | |
render: function() { | |
return <div>Hello {this.props.name}</div>; | |
} | |
}); | |
ReactDOM.render(<HelloMessage name="John" />, mountNode); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment