How to display Json Data in ReactJs
<p>I have this code where I am just trying to display a Json Data but it returns 
undefined </p>

<pre><code>var dataW = [
        {
       empAverage:3,
       reviewerAverage:4,
       stdAverageOfTask:1
    }
]

var ReviewCalculator = React.createClass({

                            getInitialState: function() {
                                      return {data: dataW};

                              },

                          render: function() {
                              return (
                                        &lt;table&gt;
                                                &lt;tr&gt;&lt;th&gt;empAverage&lt;/th&gt;&lt;td&gt;{ this.props.data.empAverage}&lt;/td&gt;&lt;/tr&gt;
                                        &lt;/table&gt;
                                  );

                              }
                      });
 ReactDOM.render(&lt;ReviewCalculator    /&gt;, document.getElementById('container'));
</code></pre>

<p>The Fiddle is here <a href="https://jsfiddle.net/69z2wepo/42333/" rel="nofollow"><strong>LINK</strong></a></p>