title: React JS table body component is not rendering
body: <pre><code> &lt;script type="text/jsx"&gt;
  
          var data=[];
          data = JSON.parse('{!Accounts}');
          console.log('====data=====',data[0]);
          var accountTableBody = React.createClass({
  
              render:function(){
  
                  return(
                      &lt;tr&gt;
                          &lt;td&gt;{this.props.Account.Name}&lt;/td&gt;
                          &lt;td&gt;{this.props.Account.Type}&lt;/td&gt;
                          &lt;td&gt;{this.props.Account.Id}&lt;/td&gt;
                      &lt;/tr&gt;
                  );
              }
          });
  
          var accountTable = React.createClass({
              render: function() {
  
                  var bodyEle =[];
  
                  this.props.children.forEach(function(acc) {
                      bodyEle.push(&lt;accountTableBody Account={acc} key={acc.Name}  /&gt;);
                  });
  
                  return(
                      &lt;table&gt;
                          &lt;thead&gt;
                              &lt;tr&gt;
                                  &lt;th&gt;Name&lt;/th&gt;
                                  &lt;th&gt;Type&lt;/th&gt;
                                  &lt;th&gt;Id&lt;/th&gt;
                              &lt;/tr&gt;
                          &lt;/thead&gt;
                          &lt;tbody&gt;
                              {bodyEle}
                          &lt;/tbody&gt;
                      &lt;/table&gt;
                  );
              }
          });
          var element = React.createElement(accountTable, this.props, data);
          React.render(element, document.getElementById('content'));
      &lt;/script&gt;
  </code></pre>
  
  <p>This is the JSX code I am using it just displaying the table header but not the table body</p>
  
  <p>I think in some where my second <code>accountTableBody</code> component.</p>
  
  <p>In browser console I am not getting any error </p>
  
  <p>Any idea what is the mistake I am doing.. </p>