title: Accessing state in functional component after redirect
body: <p>After returning a <code>&lt;Redirect&gt;</code> to another functional component I do not seem to be able to access the <code>carId</code> property in the component to which I was redirected. I'd like to know if anyone has solved this problem in the past.</p>
  
  <p>The redirect would contain a pathname "..\cars\cardetail\carId" and would additionally contain a state property: <code>"state:{carId:xxx}"</code>. However, although I am redirected to the correct page, I do not seem to be able to pull the carId off either the Url or out of the state object.</p>