Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created January 17, 2016 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuck0523/19211423822a15d8f6f8 to your computer and use it in GitHub Desktop.
Save chuck0523/19211423822a15d8f6f8 to your computer and use it in GitHub Desktop.
var React = require('react');
var ReactDom = require('react-dom');
class Comment extends React.Component {
render() {
return {
<div>
'hello, I\'m comment'
</div>
};
}
}
ReactDom.render(
<Comment />,
document.getElementById('comment-container');
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment