title: Only show redo search button when user has completely moved to a new area
body: <p>How can i only show the redo button only when the user has changed region?In my code right now it keeps flickering on and off as the region changes, not sure what is missing.</p>
  
  <p><strong>Code:</strong></p>
  
  <p>app.js</p>
  
  <pre><code>onregionchange() {
      this.setState({redosearch: !this.state.redosearch })
  }
  
  render() {
      const Showredo = ({redosearch }) =&gt; redosearch ? &lt;View&gt;&lt;Text&gt; redo now &lt;Text&gt;&lt;/View&gt; : null
      return(
      &lt;View&gt;
      {this.state.redosearch  ? &lt;ShowRedo  redosearch={this.state.redosearch }/&gt; : null}
      &lt;View&gt;
          &lt;MapView
              ref={(map) =&gt; (this.map = map)}
              style={styles.map}
              onRegionChange={this.onregionchange}
          &gt;
          &lt;/MapView&gt;
      )
  }
  </code></pre>