Accepted answer

You're missing the code that loads the comments. If you scroll down a bit in the tutorial, you'll see you can add this code to your comments box component:

var CommentBox = React.createClass({
  getInitialState: function() {
    return {data: []};
  componentDidMount: function() {
      url: this.props.url,
      dataType: 'json',
      cache: false,
      success: function(data) {
        this.setState({data: data});
      error: function(xhr, status, err) {
        console.error(this.props.url, status, err.toString());
  render: function() {
    return (
      <div className="commentBox">
        <CommentList data={} />
        <CommentForm />

Related Query

More Query from same tag