title: How do you pass data when using the navigate function in react router v6
body: <p>In v4 you would do a history.push('/whatever', { data })
  Then the component tied to that route could read the data object by referencing the history.location.state</p>
  <p>Now with v6 that's changed to navigate('whatever')</p>
  <p>How do you pass data like before?</p>