this.props.authState stays the same although I\'m dispatching an action in my componentDidMount function:
this.props.authState
componentDidMount
componentDidMount() {
If you’re mutating the state then component will not be re rendered. You need to return {...state, authState} from your reducer. And you verify your updated state in
{...state, authState}
componentWillReceiveProps(nextProps) { }
I hope this would solve the issue.