state.location =

{"pathname":"/url-params","path":["url-params"],"query":{}}

window.location.search =