title: React Native get navigation object outside screen component
body: <p>I need to be able to navigate and reset navigation stack from modules that are not necessarily screen components. It means, I can't use: </p>
  
  <pre><code>const {navigate} = this.props.navigation;
  </code></pre>
  
  <p>In my case, I need to properly redirect user to the right screen when he taps on push notification. I only have a callback:</p>
  
  <pre><code>onNotification: function(notification) {
      // show correct screen and reset navigation stack
  }
  </code></pre>
  
  <p>I just need more flexibility with navigation. So how can I do it for my case?</p>