title: How to pass params into history push
body: <p>I have a click handler here that is supposed to help me redirect the page upon clicking the item in the list.</p>
  <h1>Expectations:</h1>
  <pre><code>onRowClick: (rowIndex) =&gt;this.props.history.push( {pathname: '/tickets',  param: rowIndex[0]};
  </code></pre>
  <p>Of course however, the code won't work. rowIndex is the param that I wish to pass into the url.</p>
  <p>this is the history as logged in my console:</p>
  <pre><code>action: &quot;POP&quot;
  block: ƒ block(prompt)
  createHref: ƒ createHref(location)
  go: ƒ go(n)
  goBack: ƒ goBack()
  goForward: ƒ goForward()
  length: 50
  listen: ƒ listen(listener)
  location: {pathname: &quot;/tickets&quot;, search: &quot;&quot;, hash: &quot;#/&quot;, state: undefined}
  push: ƒ push(path, state)
  replace: ƒ replace(path, state)
  __proto__: Object
  </code></pre>
  <p>Here is what I have tried:</p>
  <pre><code>onRowClick: (rowIndex) =&gt;this.props.history.push({pathname: '/tickets' , id: rowIndex[0]})
  </code></pre>
  <p>however there doesn't seem to have an effect upon clicking</p>