Last active
October 7, 2015 18:29
-
-
Save n9ti/0c6d06842706ff2ad00d to your computer and use it in GitHub Desktop.
learn-react
This file contains hidden or 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
// main.js | |
var React = require('react'); | |
var ReactDOM = require('react-dom'); | |
ReactDOM.render( | |
<h1>Hello, world!</h1>, | |
document.getElementById('example') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment