0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/docs/api/react/useMatch.md

263 B

id title
useMatch useMatch
const match = useMatch({
  from,
  strict
})

Options

  • from: TFrom
    • Required
  • strict?: TStrict
    • Optional

Returns

  • match: TStrict extends true ? TRouteMatch : TRouteMatch | undefined