title: How to handle request errors in react/redux?
body: <p>I've been searching for some solutions about handling requests errors like an invalid password error when trying to login into the server via a redux action.</p>
  
  <p>The most robust solution I found was having a reducer that takes care of the errors while the component bases what it is showing on the state given by the reducer.</p>
  
  <p>Example:</p>
  
  <p>I have a reducer property "emailNotValidated" that gets true if the server responds that the user email was not validated yet, then my component will be shown slightly different with options to resend the verification e-mail and more.</p>
  
  <p>The problem is that: What if the user gets out of the login page and then returns to it? I don't want him/her to find the verification option since I want the login page to be "renewed". Do I have to dispatch and action to "reset" this reducer every time I open this component/page? </p>