Skip to content

Instantly share code, notes, and snippets.

@thenormalsquid
Created August 26, 2015 14:00
Show Gist options
  • Save thenormalsquid/6bbcc471a189f264bd0d to your computer and use it in GitHub Desktop.
Save thenormalsquid/6bbcc471a189f264bd0d to your computer and use it in GitHub Desktop.
test
var CommentBox = React.createClass({
render: function() {
return (
<div className="commentBox">
<h1>Comments</h1>
<CommentList data={this.props.data} />
<CommentForm />
</div>
);
}
});
React.render(
<CommentBox data={data} />,
document.getElementById('content')
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment