Created
August 27, 2016 21:04
-
-
Save squadwuschel/db8080065a7578f323ec7779f7b5720d to your computer and use it in GitHub Desktop.
JavaScript JSX Datei für Visual Studio 2015
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 Hello = React.createClass({ | |
render: function() { | |
return <div>Hello {this.props.name}</div>; | |
} | |
}); | |
ReactDOM.render( | |
<Hello name="World" />, | |
document.getElementById('helloWorld') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment