title: How to send params in useHistory of React Router Dom?
body: <p>I am using React Router hooks for navigation <code>useHistory</code>.</p>
  
  <p>Navigate :    <code>history.push("/home", { update: true });</code></p>
  
  <p>In home : I am trying to get params  <code>let {update} = useParams();</code></p>
  
  <p>But <code>update</code> is always undefined. Whats wrong with this code. Any suggestions ?</p>