A location contains information about the URL path and history state.
A decoded URL fragment identifier without a #.
#
A URL pathname.
URL search params represented as an object.
Optional
An arbitrary data associated with the location.
A location contains information about the URL path and history state.