title: When parent props are being updated in react Redux dispatch?
body: <p>I have the following scenario.
  !Please do not suggest to implement it differently, because it is a simplified example of my case. Also don't look for syntax issues.</p>
  <p>I have two components. A parent and a child</p>
  <pre><code>class Parent extends React.Component {
  parentFunc = () =&gt; {
      const  { someObject } = this.props;
  
      // Here someObject will have the updatedValue????
  }
  
  render() {
      return &lt;Child parentFunc={this.parentFunc} /&gt;;
  }
  }
  
  const mapStateToProps = (state) =&gt; ({
        someObject: state.someReducer
  })
  
  export default connect(mapStateToProps)(Parent);
  
  
  class Child extends React.Component {
  componentDidUpdate() {
      const { someSyncAction, parentFunc } = this.props;
      
      someSyncAction();
      parentFunc();
  }
  
  render() {
      return &lt;div&gt;Some content here&lt;/div&gt;;
  }
  }
  
  const mapDispatchToProps = dispatch =&gt; ({
  someSyncAction: () =&gt; dispatch(syncAction()), 
  });
  
  export default connect(
  null,
  mapDispatchToProps
  )(Child);
  </code></pre>
  <p>Which is the value of someObject after componentDidUpdate is being called in child?</p>