title: React Native: Array.map not rendering within Scrollview
body: <p>I'm trying to render a list of items within a ScrollView Component from an array of data, but for some reason the items are not showing up, or perhaps rendering at all!? From the example below, only <code>&lt;SomeOtherComponent /&gt;</code> shows up, when there should be three orange squares before it (assuming <code>this.state.test</code> is an array of, say, <code>[0, 1, 2]</code>). What am I doing wrong?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;ScrollView
    style={{flex: 1}}
    contentContainerStyle={{width: '100%', alignItems: 'center'}}&gt;
    
    {this.state.test.map((item, index) =&gt; {
      &lt;View style={{height: 50, width: 50, backgroundColor: 'orange', marginBottom: 10}} /&gt;
    })}
    
    &lt;SomeOtherComponent /&gt;
  &lt;/ScrollView&gt;</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react-dom.min.js"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>