Docs
CodeRabbit
Cloudflare
Railway
WorkOS
AG Grid
Netlify
OpenRouter
Clerk
SerpAPI
Prisma
Unkey
Sentry
Electric
CodeRabbit
Cloudflare
Railway
WorkOS
AG Grid
Netlify
OpenRouter
Clerk
SerpAPI
Prisma
Unkey
Sentry
Electric
Integrations

ParsedLocation type

The ParsedLocation type represents a parsed location in TanStack Router. It contains a lot of useful information about the current location, including the pathname, search params, hash, location state, and route masking information.

tsx
interface ParsedLocation {
  href: string
  pathname: string
  search: TFullSearchSchema
  searchStr: string
  state: ParsedHistoryState
  hash: string
  maskedLocation?: ParsedLocation
  unmaskOnReload?: boolean
}
interface ParsedLocation {
  href: string
  pathname: string
  search: TFullSearchSchema
  searchStr: string
  state: ParsedHistoryState
  hash: string
  maskedLocation?: ParsedLocation
  unmaskOnReload?: boolean
}