title: How can I pass multiple props in a single event handler in ReactJS?
body: <p>I'm trying to add a onClick listener to a li and the props will be passed to another component that will eventually call a function. My first thought was simply put 2 onClick, but I got a warning for duplicate props.</p>
  
  <pre><code>&lt;li onClick={props.headlinesClicked} onClick={props.getData}&gt;Top Headlines&lt;/li&gt;
  </code></pre>
  
  <p>Then I tried the vahnilla JS way but I assume it's not working because these are expressions rather than actual functions.</p>
  
  <pre><code> &lt;li onClick={() =&gt; {{props.headlinesClicked}; {props.getData}}}&gt;Top Headlines&lt;/li&gt;
  </code></pre>
  
  <p>How can I pass these multiple props in a single onClick?</p>