title: React Native Redux - redirect after login
body: <p>I have a react native app. When user logs in, I have set isLoggedIn = true in reducer. </p>
  
  <p>Login is done by this action: this.props.login(user)</p>
  
  <p>If login is successful, I want to redirect user to home page. I could do it in getDerivedStateFromProps lifecycle method. Is that correct/recommended approach? </p>