Reference

RouteLocation

Serializable location data passed to shared page and layout components. Server-only request data such as headers, body, credentials, and abort signals is available through loader and handler contexts instead.

Signature

interface RouteLocation

Members

hash: string
pathname: string
search: string
url: string