Skip to content

Instantly share code, notes, and snippets.

@uptownhr
Created February 18, 2015 21:42
Show Gist options
  • Save uptownhr/a383f0a32ccb0ca2c69f to your computer and use it in GitHub Desktop.
Save uptownhr/a383f0a32ccb0ca2c69f to your computer and use it in GitHub Desktop.
how does this not cause an error in react?
render: function() {
return (
<div className="commentBox">
<h1>Comments</h1>
<CommentList data={this.state.data} />
<CommentForm onCommentSubmit={this.handleCommentSubmit} />
</div>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment