title: How to call two functions onClick() react/redux
body: <p>I have a <code>component</code> that looks like this</p>
  
  <pre><code>class Test extends React.Component {
     onClick() {
         alert("I am a Component")
     }
  
     render() { 
        const { fromContainer } = this.props
        return (
           &lt;a href="#" onClick={ this.onClick }&gt;Test Link&lt;/a&gt;
        );
     }
  } 
  </code></pre>
  
  <p>In my <code>container</code> I connect <code>Test</code> to the <code>Store</code>. I need to call two functions on the <code>onClick</code>. One function as defined in the <code>component</code> itself (<code>onClick()</code> with <code>alert()</code>, the other one is the function <code>fromContainer</code> which is an <code>action</code>, going through the <code>reducer</code> etc. </p>
  
  <p>How do I make the function <code>fromContainer</code> known to the component. 
  When only one function is called its: </p>
  
  <pre><code>class Test extends React.Component {
     render() { 
        const { fromContainer } = this.props
        return (
           &lt;a href="#" onClick={ fromContainer }&gt;Test Link&lt;/a&gt;
        );
     }
  } 
  </code></pre>
  
  <p>and thats it. But it does not work with two functions, that are defined in different "places".</p>