Last active
September 25, 2016 09:20
-
-
Save zeakd/5ca010c62efb750666fcff208ce1b80d to your computer and use it in GitHub Desktop.
very simple react page
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 charset="utf-8"> | |
<title>React 1</title> | |
<script src='https://cdnjs.cloudflare.com/ajax/libs/react/15.3.1/react.min.js'></script> | |
<script src='https://cdnjs.cloudflare.com/ajax/libs/react/15.3.1/react-dom.min.js'></script> | |
</head> | |
<body> | |
<div id="root"></div> | |
<script> | |
ReactDOM.render( | |
React.createElement('h1', {className: 'title'}, 'Hello'), | |
document.getElementById('root') | |
) | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment