Skip to content

Instantly share code, notes, and snippets.

@ChuckJHardy
Created March 24, 2015 18:37
Show Gist options
  • Save ChuckJHardy/8136a7eb9c8a8804e313 to your computer and use it in GitHub Desktop.
Save ChuckJHardy/8136a7eb9c8a8804e313 to your computer and use it in GitHub Desktop.
ReactJS Render Example
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