React-Native view was rendered with explicitly set width/height but with a 0 flexBasis
<p>In React-native 0.39,</p>

<p>I often get this error but I don't really understand why (appart the fact that I didn't set flexGrow...).</p>

<p>Here is the error from the console </p>

<pre><code>View was rendered with explicitly set width/height but with a 0 flexBasis. (This might be fixed by changing flex: to flexGrow:) View: &lt;RCTShadowView: 0x6080005a02a0; viewName: RCTView; reactTag: 2608; frame: {{0, 0}, {nan, nan}}&gt;
</code></pre>

<p>Can someone explain to me why this error is triggered ? </p>

<p><strong>EDIT</strong>: The error comes from this bit of boilerplate code I added in on the main View :</p>

<pre><code>flex: 1,
// remove width and height to override fixed static size
width: null,
height: null,
</code></pre>

<p>But If someone could shed a light on react-native styling or lead me to good resources, I'll be grateful :) </p>