To
Describes a location that is the destination of some navigation, either via
history.push or history.replace. May be either a URL or the pieces of a
URL path.
Properties
(Mandatory properties are in bold)| Properties | Type | Description | 
|---|---|---|
| hash | string | A URL fragment identifier, beginning with a #. | 
| pathname | string | A URL pathname, beginning with a /. | 
| search | string | A URL search string, beginning with a ?. |