title: React Native, Redux and Router Flux set state and redirect
body: <p>I'm new to React Native and have implemented a 'bodge' to get my app working but I wanted to know the correct way to implement the following...</p>
  
  <p>The user has the option to log out on every page which currently calls a LOGOUT action which tells the reducers to revert back to initial states. It also sets the navigation reducer that I made to go to the 'login' screen. Once componentWillUpdate fires it sees this and then calls Actions.login(). This all works but is definitely not 'clean'.</p>
  
  <p>Any advice on the correct implementation of this set state and redirect flow that I need?</p>
  
  <p>I'm using the latest version of all of the libraries involved.</p>