title: React Native Show/Hide View
body: <p>I have a file called test.js. It has two Classes A and B. In class B I have a button <code>hide view</code>. </p>
  
  <p>What I want is when I click on <code>hide view</code> button then it should toggle(show/hide) the view of class A without loading.</p>
  
  <p>How can I do this?</p>