Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created January 17, 2016 13:16
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/a6a88dee60ca01cf0147 to your computer and use it in GitHub Desktop.
Save chuck0523/a6a88dee60ca01cf0147 to your computer and use it in GitHub Desktop.
import React from 'react';
import ReactDom from 'react-dom';
class Comment extends React.Component {
render() {
return (
<div>Hello, I am 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