Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

useMatch.md

20 lines263 Bytes

const match = useMatch({
  from,
  strict
})

Options

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

Returns

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