Created
September 12, 2016 16:00
-
-
Save mwhagedorn/4967902af9f250bdd2a7181bd3c9f219 to your computer and use it in GitHub Desktop.
errant file in react tutorial
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 React = require('react'); | |
var ReactDOM = require('react-dom'); | |
var HelloWorld = React.createClass({ | |
render: function() { | |
return ( | |
<div>Hello World</div> | |
); | |
} | |
}); | |
ReactDOM.render( | |
<HelloWorld/>, | |
document.getElementById('app') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment