Last active
January 7, 2016 20:26
-
-
Save ciwolsey/f8629e66907882c24bd4 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
<head></head> | |
<body> | |
<div id="root"></div> | |
</body> |
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
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import Router from 'react-router'; | |
let App = React.createClass({ | |
render(){ | |
return( | |
<h1>Hello World</h1> | |
) | |
} | |
}); | |
Meteor.startup(function(){ | |
// Render app into root div | |
ReactDOM.render(<App/>, document.getElementById('root')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment