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

useSearch.md

23 lines306 Bytes

const search = useSearch({
    from,
    strict,
    select
})

Options

  • from: TFrom
    • Required
  • strict?: TStrict
    • Optional
  • select?: (search: TSearch) => TSelected
    • Optional

Returns

  • search: TSelected | undefined