title: Purpose of mapDispatchToProps in Redux land
body: <p>Is there a purpose to mapDispatchToProps:</p>
  
  <pre><code>const mapDispatchToProps = dispatch =&gt; {
    return {
      addProductToCart: product =&gt; dispatch(addProductToCart(product))
    }
  }
  </code></pre>
  
  <p>or is it acceptable to just do this:</p>
  
  <pre><code>const mapDispatchToProps = dispatch =&gt; {
    return {dispatch};
  }
  </code></pre>
  
  <p>and then just call:</p>
  
  <p><code>props.dispatch()</code> in the component</p>