title: list.map not being displayed in React Component
body: <p>I'm trying to get this list in the view, but this doesn't display any items</p>
  
  <pre><code>render: function() {
      var list = this.state.list;
      console.log('Re-rendered');
      return(
          &lt;ul&gt;
          {list.map(function(object, i){
              &lt;li key='{i}'&gt;{object}&lt;/li&gt;
          })}
          &lt;/ul&gt;
      )
  }
  </code></pre>
  
  <p><code>list</code> is first set to null, but then I reload it with AJAX. This on the other hand works</p>
  
  <pre><code>    &lt;ul&gt;
      {list.map(setting =&gt; (
          &lt;li&gt;{setting}&lt;/li&gt;
      ))}
      &lt;/ul&gt;
  </code></pre>
  
  <p>This is my whole component as it stands:</p>
  
  <pre><code>var Setting = React.createClass({
     getInitialState: function(){
       return {
         'list': []
       }
     },
     getData: function(){
       var that = this;
       var myHeaders = new Headers();
       var myInit = { method: 'GET',
             headers: myHeaders,
             mode: 'cors',
             cache: 'default' };
      fetch('/list/',myInit)
          .then(function(response){
              var contentType = response.headers.get("content-type");
              if(contentType &amp;&amp; contentType.indexOf("application/json") !== -1) {
              return response.json().then(function(json) {
                  that.setState({'list':json.settings});
              });
              } else {
              console.log("Oops, we haven't got JSON!");
              }
  
          })
          .catch(function(error) {
              console.log('There has been a problem with your fetch operation: ' + error.message);
          });;    
     },
     componentWillMount: function(){
      this.getData();
     },
     render: function() {
      var list = this.state.list;
      return(
          &lt;ul&gt;
          {list.map(function(object, i){
              &lt;li key={i}&gt;{object}&lt;/li&gt;
          })}
          &lt;/ul&gt;
      )
    }
  });
  </code></pre>