Created
March 24, 2015 18:37
-
-
Save ChuckJHardy/8136a7eb9c8a8804e313 to your computer and use it in GitHub Desktop.
ReactJS Render Example
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
var mountNode = document.getElementsByTagName('my-mount-node'); | |
var App = require('./components/App.jsx'); | |
React.render( | |
<App mountNode={mountNode} dataAttributes={dataAttributes} />, | |
mountNode | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment