title: What is the use of the ownProps arg in mapStateToProps and mapDispatchToProps?
body: <p>I see that the <code>mapStateToProps</code> and <code>mapDispatchToProps</code> function which are passed to the <code>connect</code> function in Redux take <code>ownProps</code> as a second argument.</p>
  
  <pre><code>[mapStateToProps(state, [ownProps]): stateProps] (Function):
  
  [mapDispatchToProps(dispatch, [ownProps]): dispatchProps] (Object or Function):
  </code></pre>
  
  <p>What is the optional <code>[ownprops]</code> argument for?</p>
  
  <p>I am looking for an additional example to make things clear as there is already one in <a href="https://github.com/reactjs/react-redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options" rel="noreferrer">the Redux docs</a></p>