title: Data unavailable before render method is executed - React Native
body: <p>I'm creating a React Native Android App that pulls data from a database and displays it.</p>
  
  <p>I would like to run a Javascript Function before the render() displays the variables.</p>
  
  <p>as</p>
  
  <pre><code>render() {
      return (
        &lt;View&gt;&lt;Text&gt;{ data }&lt;/Text&gt;&lt;/View&gt;
      );
  }
  </code></pre>
  
  <p>Doesn't work because the variables aren't defined yet.</p>