title: React native reload a page when pressing a button
body: <p>Hi I'm building an app with react native (using expo). When users press a button (a TouchableOpacity one) I want to call a function that add a record in the database (this part works perfectly) and then reload the page (the Component). I can't find a solution on how to reload the Component. I tried forceUpadate() but it didn't work</p>
  
  <p>Here is my code</p>
  
  <pre><code>class Screen extends Component {
        .
        . 
        .
  &lt;TouchableOpacity
      style={styles.style}
      onPress={() =&gt; {      
      this.func(param1,param2),
      alert("Something"),               
      //Reload the component
      // I tried this.forceUpdat() but didn't work
      }}
   &gt;
     &lt;Text&gt; ... &lt;/Text&gt;
   &lt;/TouchableOpacity&gt;
         .
         .
         .
  }
  </code></pre>