title: Reset StackNavigator inside createBottomTabNavigator on tabBarOnPress
body: <p>I have this structure:</p>
  
  <p>bottomTabNavigator:</p>
  
  <ul>
  <li>Screen 1</li>
  <li>Screen 2
  
  <ul>
  <li>Screen A</li>
  <li>Screen B</li>
  </ul></li>
  </ul>
  
  <p>When the user navigates to Screen B, then goes to Screen 1 and go back to Screen 2, he goes directly in B, how can I reset the stack using the tabBarOnPress function to force the user to go back to A?</p>
  
  <p>I'm using react-navigation 3.0.9, I tried a few codes but I got errors and I think it is due to the version.</p>
  
  <p>My code structure:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const Navigator = createBottomTabNavigator({
          Screen1: {
              screen: Screen1,
              navigationOptions: () =&gt; ({
                  tabBarOnPress...
              })
          },
          Screen2: {
              screen: Screen2,
              navigationOptions: () =&gt; ({
                  tabBarOnPress...
              })
          }
  })</code></pre>
  </div>
  </div>
  </p>