Skip to content
public-library›Rules›TanStack Router›Register the router and read route data through typed route APIs

Register the router and read route data through typed route APIs

Register the router type once with the Register interface, and read params, search params, and loader data through route-specific APIs, such as Route.useParams(), getRouteApi('/path'), or hooks with from.

In the full rule