-
-
Save ivanoats/7ed5ca6213cf222b9408 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="ReactJS Hello World" /> | |
<meta charset="utf-8"> | |
<title>First React Component</title> | |
<script src="http://fb.me/react-0.8.0.js"></script> | |
<script src="http://fb.me/JSXTransformer-0.8.0.js"></script> | |
<script type="text/jsx"> | |
/*** @jsx React.DOM */ | |
var APP = React.createClass({ | |
render: function() { | |
return ( | |
<h1>Hello Reactive World</h1> | |
) | |
} | |
}); | |
React.renderComponent(<APP />, document.body); | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment