title: What is ownProps in react-redux?
body: <p>I am reading the <a href="https://github.com/reactjs/react-redux/blob/master/docs/api.md" rel="noreferrer">API on react-redux</a> and looking at one of Redux' github examples: <a href="https://github.com/reactjs/redux/tree/master/examples/todos" rel="noreferrer">Redux todo app</a></p>
  
  <p>One of the containers, <code>FilterLink</code>, has <code>mapDispatchToProps</code> (and <code>mapStateToProps</code>) to accept two arguments, one of them being <a href="https://github.com/reactjs/redux/blob/master/examples/todos/src/containers/FilterLink.js" rel="noreferrer">ownprops</a>.</p>
  
  <pre><code>const mapDispatchToProps = (dispatch, ownProps) =&gt; ({
    onClick: () =&gt; {
      dispatch(setVisibilityFilter(ownProps.filter))
    }
  })
  </code></pre>
  
  <p>The API docs says:</p>
  
  <p>"If your mapStateToProps function is declared as taking two parameters, it will be called with the store state as the first parameter and the props passed to the connected component as the second parameter, and will also be re-invoked whenever the connected component receives new props as determined by shallow equality comparisons. (The second parameter is normally referred to as ownProps by convention.)"</p>
  
  <p>I still can't fully grasp what it does. Can someone explain what <code>ownProps</code> does with a different example?</p>