Is it the case that withRouter’s location is somehow a better approach than using window.location? If so why ? Im creating a utility func for something and it uses the window.lo