title: React Navigation, Redux, How to change screens?
body: <p>My routes are not triggering screen changes using the latest React Navigation v1.5.0. </p>
  
  <p>I have integrated Redux in my setup as detailed in the <a href="https://reactnavigation.org/docs/redux-integration.html" rel="nofollow noreferrer">react-navigation-redux docs</a>. The biggest change I see here is the 'addListener' setup, although I'm not sure this is what is preventing the screen changes. My routes were working fine using v.1.0.</p>
  
  <p>I see the navigation action being fired and the screen being added to the navigation state in the debugger, but the screen isn't changing. </p>
  
  <p>Clicking on the button below dispatches the action, but the screen doesn't change to the About screen and stays on the Home screen. </p>
  
  <p><strong>RootNav</strong></p>
  
  <pre><code>StackNavigator
    - Home
    - About
  </code></pre>
  
  <p><strong>Index.js</strong></p>
  
  <pre><code>const middleware = createReactNavigationReduxMiddleware(
    "root",
    state =&gt; state.navigationState,
  )
  
  const addListener = createReduxBoundAddListener("root");
  
  class App extends Component {
    render () {
      return (
        &lt;View&gt;
          &lt;RootNav navigation={addNavigationHelpers({
           dispatch: this.props.dispatch,
           state: this.props.navigationState,
           addListener,
           })} /&gt;
       &lt;/View&gt;
      )
    }
  }
  </code></pre>
  
  <p><strong>BUTTON</strong></p>
  
  <pre><code>&lt;TouchableHighlight onPress={ () =&gt; 
     this.props.dispatch(NavigationActions.navigate({
       routeName: 'About'
     })) }&gt;
    &lt;Text&gt;About&lt;/Text&gt;
  &lt;/TouchableHighlight&gt;
  </code></pre>
  
  <p><strong>STATE AFTER CLICKING BUTTON:</strong></p>
  
  <pre><code>nav: {
    key: StackRouterRoot,
    index: 1,
    isTransitioning: true,
    routes: [
     0: {routeName: 'Home'},
     1: {routeName: 'About'},
    ],
  }
  </code></pre>
  
  <p>How do you properly dispatch route/screen changes? </p>