title: React-redux mapStateToProps not received in the componentDidMount
body: <p>So I've rewrote my code a bit to use state instead of modifying props since it is not what I should do. The problem that occurred now is that when componentDidMount runs props are still not fetched from the backend, therefore the if statements in the function are always false. </p>
  
  <pre><code>componentDidMount() {
      this.props.getTypes('sport');
      this.props.getSchema();
      this.props.getDomainForm();
  
      if(Object.keys(this.props.schema).length) {
          this.setState({schema: this.props.schema})
      }
      if(Object.keys(this.props.formData).length) {
          this.setState({form: this.props.formData})
      }
  }
  
  const mapStateToProps = (state) =&gt; {
      return {
          schema: state.admin.settings.Domains.schema.data || {},
          formData: state.admin.settings.Domains.domain.data || {},
          types: state.admin.settings.Domains.types.data || {},
      }
  };
  </code></pre>
  
  <p>I've stepped trough the code and it seems like componentDidMount runs only once. Since <code>componentWillRecieveProps</code> is deprecated I am unsure what to do to fix this, and I hope you guys can help me with this one.</p>
  
  <p>PS. there is no problems with fetch actions and reducers works perfectly I haven't changed anything there and redux debugger is displaying the results correctly. </p>