URL fragment identifier (hash)
The hash portion of the URL, including the leading # character.
The URL path
The path portion of the URL, not including query parameters or hash.
Parsed URL query parameters
Query string parameters parsed as an object. Values are automatically
parsed using JSON.parse() when possible, allowing for typed values.
Navigation state attached to this location
Custom state data stored with this history entry. State is not visible in the URL and is preserved when navigating back/forward through history.
Useful for passing context between routes without exposing it in the URL.
Represents a complete location in the application
A location consists of a path, query parameters, hash fragment, and optional state data. This type is used by Navigator to represent both the current location and navigation targets.
Example: Describe a complete location