title: Detect if the user is connected to the internet?
body: <p>I'd like to route the user to a certain screen, in case he is not connected to the internet.</p>
  
  <p>I just can't detect if he is connected or not.</p>
  
  <p>I tried this code, but did not work:</p>
  
  <pre><code>async componentWillMount()
  {
     if (!await NetInfo.isConnected)
     {
        this.props.navigation.navigate('Saved');
     }
  }
  </code></pre>
  
  <p>Any tested solution to suggest?</p>