Skip to content

Instantly share code, notes, and snippets.

@erikakers
Created November 19, 2013 20:21
Show Gist options
  • Select an option

  • Save erikakers/7551880 to your computer and use it in GitHub Desktop.

Select an option

Save erikakers/7551880 to your computer and use it in GitHub Desktop.
Javascript: React JSX module template.
/**
* @jsx React.DOM
*/
var App.Views.MyComponent = React.createClass({
render: function() {
return (
<p>Awesome Code</p>
);
}
});
React.renderComponent( <MyComponent />, document.getElementById('container'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment