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

useRoute.md

15 lines228 Bytes

const route = useRoute(routeId)

Options

  • routeId: TId
    • Required

Returns

  • route: Route<RegisteredAllRouteInfo, RegisteredAllRouteInfo['routeInfoById'][TId]>