title: How to dynamically set height of view based on its width by keeping aspect ratio?
body: <p>I want to have a view whose width is responsive to its container width while keeping its aspect ratio.
  I don't want to hard code width or height, but keep it dynamic and responsive so that it can be reused in multiple situations as a reusable component.</p>
  
  <p>I hope it works similar to the following code:</p>
  
  <pre><code>&lt;View style={{
    alignSelf: 'stretch',
    aspectRatio: 1.5
  }} /&gt;
  </code></pre>
  
  <p>It should fill its container's width and set its own height dynamically based on its width.</p>
  
  <p>Is this possible in react-native with flexbox?</p>