Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
673a043
docs(start): Remove unplanned feature from docs (#4150)
danecando May 11, 2025
9f93ce0
fix(docs): update src to images on tanstack.com (#4165)
birkskyum May 13, 2025
38142f4
docs: update comparison
tannerlinsley May 13, 2025
5d940e2
docs: specify that not found errors are handled by the nearest parent…
Rendez May 13, 2025
fa871a0
docs(router): fix `scrollRestorationBehavior` option in "scroll-resto…
ThaumRystra May 16, 2025
e18b333
fix: properly handle sessionStorage not being available for scroll re…
schiller-manuel May 16, 2025
13996c6
release: v1.120.4
tannerlinsley May 16, 2025
7bf23b4
fix: head execution (#4189)
schiller-manuel May 16, 2025
ada2b08
release: v1.120.5
tannerlinsley May 16, 2025
6991947
fix(router-devtools-core): adds missing containerElement prop support…
adamrhunter May 18, 2025
dd3d33f
release: v1.120.6
tannerlinsley May 18, 2025
72ffeb4
docs: fix neon bullet points and url (#4214)
Balastrong May 20, 2025
d4321fe
docs: Fix syntax error in search middleware example (#4223)
jtannas May 22, 2025
385c47b
ci: apply automated fixes
autofix-ci[bot] May 22, 2025
0d71e04
docs(react-router): document migration path for `parseParams` and `st…
scarf005 May 22, 2025
5a82679
fix: type errors with `skipLibCheck: false` (#4233)
chorobin May 22, 2025
986fa83
release: v1.120.7
tannerlinsley May 22, 2025
5663aa6
fix: proper HMR handling for file routes (#4240)
schiller-manuel May 23, 2025
bd9eb8b
release: v1.120.8
tannerlinsley May 23, 2025
7eba99e
fix: router.buildLocation use RegisteredRouter (#4242)
schiller-manuel May 23, 2025
0d7dc76
release: v1.120.9
tannerlinsley May 23, 2025
63c623b
docs: fix links
tannerlinsley May 24, 2025
ef01673
fix: handle Symbol properties and non-enumerable properties in `repla…
phryneas May 24, 2025
790016d
release: v1.120.10
tannerlinsley May 24, 2025
bdea54d
docs(router): add `route.tsx` in directory vs flat routing guide (#4257)
ViewableGravy May 26, 2025
dca754e
fix(react-router): fix custom link type ref inference (#4121)
CynicalBusiness May 26, 2025
52f06b4
release: v1.120.11
tannerlinsley May 26, 2025
64eb2c1
docs: Update RouteOptionsType doc to reflect correct Loader opts (#4265)
mattander May 28, 2025
1f34687
docs: Update code-splitting.md (#4267)
chungwong May 29, 2025
fdf31ff
fix: Fix devtools when using shadowdom (#4212)
maxx-coffee May 29, 2025
000b4f3
chore: support vibe-rules in react-router (#4263)
jherr May 29, 2025
d91e63a
release: v1.120.12
tannerlinsley May 29, 2025
a5208e4
docs(start): add migration guide from Next.js (#4260)
nrjdalal May 30, 2025
dc1d7b9
docs(start): fix typos in next migration guide (#4276)
nrjdalal May 30, 2025
18e24a7
docs(start): add project structure to next.js migration guide (#4280)
nrjdalal May 30, 2025
3f858cb
fix: scroll to top selectors function (#4281)
tmarnet May 30, 2025
c0a6050
release: v1.120.13
tannerlinsley May 30, 2025
b84e5c7
fix: make route HMR handling robust against route deletion (#4292)
schiller-manuel Jun 1, 2025
4c2ce49
fix: handle SSR errors in beforeLoad/loader during client hydration
nekofuro-dev Jun 2, 2025
1c38e8c
fix: rethrow invariant failed error
nekofuro-dev Jun 2, 2025
894274c
release: v1.120.14
tannerlinsley Jun 3, 2025
492b666
fix(router-core): double decoding in `qss` (#4300)
vcarel Jun 3, 2025
6110bbf
release: v1.120.15
tannerlinsley Jun 3, 2025
9db424f
docs(router): fix path param name in "data mutation" guide (#4302)
diegoarff Jun 3, 2025
4ddd479
Merge branch 'main' into main
meouwu-dev Jun 3, 2025
d1ed4e1
docs: Update preloading.md (#4310)
Erfanhosseini98 Jun 3, 2025
d9cc457
test: add e2e test for ssr error handling
meouwu-dev Jun 4, 2025
8ed9ee6
refactor: extract invariant source constant for not found errors
meouwu-dev Jun 4, 2025
c69b82a
Merge branch 'main' into main
meouwu-dev Jun 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,6 @@ app.config.ts.timestamp_*

# Handling VSCode settings
/.vscode/
!/examples/react/**/.vscode/settings.json
!/examples/react/**/.vscode/settings.json

**/llms
2 changes: 1 addition & 1 deletion docs/router/eslint/eslint-plugin-router.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ Alternatively, add `@tanstack/eslint-plugin-router` to the plugins section, and

The following rules are available in the TanStack Router ESLint Plugin:

- [@tanstack/router/create-route-property-order](./create-route-property-order.md)
- [@tanstack/router/create-route-property-order](../create-route-property-order.md)
156 changes: 78 additions & 78 deletions docs/router/framework/react/api/router.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,85 +4,85 @@ title: Router API
---

- Functions
- [`createFileRoute`](./router/createFileRouteFunction.md)
- [`createLazyFileRoute`](./router/createLazyFileRouteFunction.md)
- [`createRootRoute`](./router/createRootRouteFunction.md)
- [`createRootRouteWithContext`](./router/createRootRouteWithContextFunction.md)
- [`createRoute`](./router/createRouteFunction.md)
- [`createLazyRoute`](./router/createLazyRouteFunction.md)
- [`createRouteMask`](./router/createRouteMaskFunction.md)
- [`createRouter`](./router/createRouterFunction.md)
- [`defer`](./router/deferFunction.md)
- [`getRouteApi`](./router/getRouteApiFunction.md)
- [`isNotFound`](./router/isNotFoundFunction.md)
- [`isRedirect`](./router/isRedirectFunction.md)
- [`lazyRouteComponent`](./router/lazyRouteComponentFunction.md)
- [`linkOptions`](./router/linkOptions.md)
- [`notFound`](./router/notFoundFunction.md)
- [`redirect`](./router/redirectFunction.md)
- [`retainSearchParams`](./router/retainSearchParamsFunction.md)
- [`stripSearchParams`](./router/stripSearchParamsFunction.md)
- [`createFileRoute`](../router/createFileRouteFunction.md)
- [`createLazyFileRoute`](../router/createLazyFileRouteFunction.md)
- [`createRootRoute`](../router/createRootRouteFunction.md)
- [`createRootRouteWithContext`](../router/createRootRouteWithContextFunction.md)
- [`createRoute`](../router/createRouteFunction.md)
- [`createLazyRoute`](../router/createLazyRouteFunction.md)
- [`createRouteMask`](../router/createRouteMaskFunction.md)
- [`createRouter`](../router/createRouterFunction.md)
- [`defer`](../router/deferFunction.md)
- [`getRouteApi`](../router/getRouteApiFunction.md)
- [`isNotFound`](../router/isNotFoundFunction.md)
- [`isRedirect`](../router/isRedirectFunction.md)
- [`lazyRouteComponent`](../router/lazyRouteComponentFunction.md)
- [`linkOptions`](../router/linkOptions.md)
- [`notFound`](../router/notFoundFunction.md)
- [`redirect`](../router/redirectFunction.md)
- [`retainSearchParams`](../router/retainSearchParamsFunction.md)
- [`stripSearchParams`](../router/stripSearchParamsFunction.md)
- Components
- [`<Await>`](./router/awaitComponent.md)
- [`<CatchBoundary>`](./router/catchBoundaryComponent.md)
- [`<CatchNotFound>`](./router/catchNotFoundComponent.md)
- [`<ClientOnly>`](./router/clientOnlyComponent.md)
- [`<DefaultGlobalNotFound>`](./router/defaultGlobalNotFoundComponent.md)
- [`<ErrorComponent>`](./router/errorComponentComponent.md)
- [`<Link>`](./router/linkComponent.md)
- [`<MatchRoute>`](./router/matchRouteComponent.md)
- [`<Navigate>`](./router/navigateComponent.md)
- [`<Outlet>`](./router/outletComponent.md)
- [`<Await>`](../router/awaitComponent.md)
- [`<CatchBoundary>`](../router/catchBoundaryComponent.md)
- [`<CatchNotFound>`](../router/catchNotFoundComponent.md)
- [`<ClientOnly>`](../router/clientOnlyComponent.md)
- [`<DefaultGlobalNotFound>`](../router/defaultGlobalNotFoundComponent.md)
- [`<ErrorComponent>`](../router/errorComponentComponent.md)
- [`<Link>`](../router/linkComponent.md)
- [`<MatchRoute>`](../router/matchRouteComponent.md)
- [`<Navigate>`](../router/navigateComponent.md)
- [`<Outlet>`](../router/outletComponent.md)
- Hooks
- [`useAwaited`](./router/useAwaitedHook.md)
- [`useBlocker`](./router/useBlockerHook.md)
- [`useCanGoBack`](./router//useCanGoBack.md)
- [`useChildMatches`](./router/useChildMatchesHook.md)
- [`useLinkProps`](./router/useLinkPropsHook.md)
- [`useLoaderData`](./router/useLoaderDataHook.md)
- [`useLoaderDeps`](./router/useLoaderDepsHook.md)
- [`useLocation`](./router/useLocationHook.md)
- [`useMatch`](./router/useMatchHook.md)
- [`useMatchRoute`](./router/useMatchRouteHook.md)
- [`useMatches`](./router/useMatchesHook.md)
- [`useNavigate`](./router/useNavigateHook.md)
- [`useParentMatches`](./router/useParentMatchesHook.md)
- [`useParams`](./router/useParamsHook.md)
- [`useRouteContext`](./router/useRouteContextHook.md)
- [`useRouter`](./router/useRouterHook.md)
- [`useRouterState`](./router/useRouterStateHook.md)
- [`useSearch`](./router/useSearchHook.md)
- [`useAwaited`](../router/useAwaitedHook.md)
- [`useBlocker`](../router/useBlockerHook.md)
- [`useCanGoBack`](../router//useCanGoBack.md)
- [`useChildMatches`](../router/useChildMatchesHook.md)
- [`useLinkProps`](../router/useLinkPropsHook.md)
- [`useLoaderData`](../router/useLoaderDataHook.md)
- [`useLoaderDeps`](../router/useLoaderDepsHook.md)
- [`useLocation`](../router/useLocationHook.md)
- [`useMatch`](../router/useMatchHook.md)
- [`useMatchRoute`](../router/useMatchRouteHook.md)
- [`useMatches`](../router/useMatchesHook.md)
- [`useNavigate`](../router/useNavigateHook.md)
- [`useParentMatches`](../router/useParentMatchesHook.md)
- [`useParams`](../router/useParamsHook.md)
- [`useRouteContext`](../router/useRouteContextHook.md)
- [`useRouter`](../router/useRouterHook.md)
- [`useRouterState`](../router/useRouterStateHook.md)
- [`useSearch`](../router/useSearchHook.md)
- Types
- [`ActiveLinkOptions Type`](./router/ActiveLinkOptionsType.md)
- [`AsyncRouteComponent Type`](./router/AsyncRouteComponentType.md)
- [`HistoryState Interface`](./router/historyStateInterface.md)
- [`LinkOptions Type`](./router/LinkOptionsType.md)
- [`LinkProps Type`](./router/LinkPropsType.md)
- [`MatchRouteOptions Type`](./router/MatchRouteOptionsType.md)
- [`NavigateOptions Type`](./router/NavigateOptionsType.md)
- [`NotFoundError Type`](./router/NotFoundErrorType.md)
- [`ParsedHistoryState Type`](./router/ParsedHistoryStateType.md)
- [`ParsedLocation Type`](./router/ParsedLocationType.md)
- [`Redirect Type`](./router/RedirectType.md)
- [`Register Type`](./router/RegisterType.md)
- [`Route Type`](./router/RouteType.md)
- [`RouteApi Type`](./router/RouteApiType.md)
- [`RouteMask Type`](./router/RouteMaskType.md)
- [`RouteMatch Type`](./router/RouteMatchType.md)
- [`RouteOptions Type`](./router/RouteOptionsType.md)
- [`Router Type`](./router/RouterType.md)
- [`RouterEvents Type`](./router/RouterEventsType.md)
- [`RouterOptions Type`](./router/RouterOptionsType.md)
- [`RouterState Type`](./router/RouterStateType.md)
- [`ToMaskOptions Type`](./router/ToMaskOptionsType.md)
- [`ToOptions Type`](./router/ToOptionsType.md)
- [`UseMatchRouteOptions Type`](./router/UseMatchRouteOptionsType.md)
- [`ViewTransitionOptions Type`](./router/ViewTransitionOptionsType.md)
- [`ActiveLinkOptions Type`](../router/ActiveLinkOptionsType.md)
- [`AsyncRouteComponent Type`](../router/AsyncRouteComponentType.md)
- [`HistoryState Interface`](../router/historyStateInterface.md)
- [`LinkOptions Type`](../router/LinkOptionsType.md)
- [`LinkProps Type`](../router/LinkPropsType.md)
- [`MatchRouteOptions Type`](../router/MatchRouteOptionsType.md)
- [`NavigateOptions Type`](../router/NavigateOptionsType.md)
- [`NotFoundError Type`](../router/NotFoundErrorType.md)
- [`ParsedHistoryState Type`](../router/ParsedHistoryStateType.md)
- [`ParsedLocation Type`](../router/ParsedLocationType.md)
- [`Redirect Type`](../router/RedirectType.md)
- [`Register Type`](../router/RegisterType.md)
- [`Route Type`](../router/RouteType.md)
- [`RouteApi Type`](../router/RouteApiType.md)
- [`RouteMask Type`](../router/RouteMaskType.md)
- [`RouteMatch Type`](../router/RouteMatchType.md)
- [`RouteOptions Type`](../router/RouteOptionsType.md)
- [`Router Type`](../router/RouterType.md)
- [`RouterEvents Type`](../router/RouterEventsType.md)
- [`RouterOptions Type`](../router/RouterOptionsType.md)
- [`RouterState Type`](../router/RouterStateType.md)
- [`ToMaskOptions Type`](../router/ToMaskOptionsType.md)
- [`ToOptions Type`](../router/ToOptionsType.md)
- [`UseMatchRouteOptions Type`](../router/UseMatchRouteOptionsType.md)
- [`ViewTransitionOptions Type`](../router/ViewTransitionOptionsType.md)
- ⚠️ Deprecated
- [`FileRoute Class`](./router/FileRouteClass.md)
- [`Route Class`](./router/RouteClass.md)
- [`Router Class`](./router/RouterClass.md)
- [`RouteApi Class`](./router/RouteApiClass.md)
- [`RootRoute Class`](./router/RootRouteClass.md)
- [`NotFoundRoute Class`](./router/NotFoundRouteClass.md)
- [`rootRouteWithContext Function`](./router/rootRouteWithContextFunction.md)
- [`FileRoute Class`](../router/FileRouteClass.md)
- [`Route Class`](../router/RouteClass.md)
- [`Router Class`](../router/RouterClass.md)
- [`RouteApi Class`](../router/RouteApiClass.md)
- [`RootRoute Class`](../router/RootRouteClass.md)
- [`NotFoundRoute Class`](../router/NotFoundRouteClass.md)
- [`rootRouteWithContext Function`](../router/rootRouteWithContextFunction.md)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: ActiveLinkOptionsType
title: ActiveLinkOptions type
---

The `ActiveLinkOptions` type extends the [`LinkOptions`](./LinkOptionsType.md) type and contains additional options that can be used to describe how a link should be styled when it is active.
The `ActiveLinkOptions` type extends the [`LinkOptions`](../LinkOptionsType.md) type and contains additional options that can be used to describe how a link should be styled when it is active.

```tsx
type ActiveLinkOptions = LinkOptions & {
Expand Down
6 changes: 3 additions & 3 deletions docs/router/framework/react/api/router/FileRouteClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: FileRoute class

> [!CAUTION]
> This class has been deprecated and will be removed in the next major version of TanStack Router.
> Please use the [`createFileRoute`](./createFileRouteFunction.md) function instead.
> Please use the [`createFileRoute`](../createFileRouteFunction.md) function instead.

The `FileRoute` class is a factory that can be used to create a file-based route instance. This route instance can then be used to automatically generate a route tree with the `tsr generate` and `tsr watch` commands.

Expand Down Expand Up @@ -34,13 +34,13 @@ The `createRoute` method is a method that can be used to configure the file rout
#### .createRoute options

- Type: `Omit<RouteOptions, 'getParentRoute' | 'path' | 'id'>`
- [`RouteOptions`](./RouteOptionsType.md)
- [`RouteOptions`](../RouteOptionsType.md)
- Optional
- The same options that are available to the `Route` class, but with the `getParentRoute`, `path`, and `id` options omitted since they are unnecessary for file-based routing.

#### .createRoute returns

A [`Route`](./RouteType.md) instance that can be used to configure the route to be inserted into the route-tree.
A [`Route`](../RouteType.md) instance that can be used to configure the route to be inserted into the route-tree.

> ⚠️ Note: For `tsr generate` and `tsr watch` to work properly, the file route instance must be exported from the file using the `Route` identifier.

Expand Down
4 changes: 2 additions & 2 deletions docs/router/framework/react/api/router/LinkOptionsType.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: LinkOptionsType
title: LinkOptions type
---

The `LinkOptions` type extends the [`NavigateOptions`](./NavigateOptionsType.md) type and contains additional options that can be used by TanStack Router when handling actual anchor element attributes.
The `LinkOptions` type extends the [`NavigateOptions`](../NavigateOptionsType.md) type and contains additional options that can be used by TanStack Router when handling actual anchor element attributes.

```tsx
type LinkOptions = NavigateOptions & {
Expand Down Expand Up @@ -36,7 +36,7 @@ The `LinkOptions` object accepts/contains the following properties:
- Type: `false | 'intent' | 'viewport' | 'render'`
- Optional
- If set, the link's preloading strategy will be set to this value.
- See the [Preloading guide](../../guide/preloading.md) for more information.
- See the [Preloading guide](../../../guide/preloading.md) for more information.

### `preloadDelay`

Expand Down
4 changes: 2 additions & 2 deletions docs/router/framework/react/api/router/LinkPropsType.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: LinkPropsType
title: LinkProps type
---

The `LinkProps` type extends the [`ActiveLinkOptions`](./ActiveLinkOptionsType.md) and `React.AnchorHTMLAttributes<HTMLAnchorElement>` types and contains additional props specific to the `Link` component.
The `LinkProps` type extends the [`ActiveLinkOptions`](../ActiveLinkOptionsType.md) and `React.AnchorHTMLAttributes<HTMLAnchorElement>` types and contains additional props specific to the `Link` component.

```tsx
type LinkProps = ActiveLinkOptions &
Expand All @@ -16,7 +16,7 @@ type LinkProps = ActiveLinkOptions &

## LinkProps properties

- All of the props from [`ActiveLinkOptions`](./ActiveLinkOptionsType.md)
- All of the props from [`ActiveLinkOptions`](../ActiveLinkOptionsType.md)
- All of the props from `React.AnchorHTMLAttributes<HTMLAnchorElement>`

#### `children`
Expand Down
4 changes: 2 additions & 2 deletions docs/router/framework/react/api/router/NavigateOptionsType.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The `NavigateOptions` object accepts the following properties:
- Optional
- Defaults to `false`.
- If `true`, navigation will be called using `document.startViewTransition()`.
- If [`ViewTransitionOptions`](./ViewTransitionOptionsType.md), route navigations will be called using `document.startViewTransition({update, types})` where `types` will be the strings array passed with `ViewTransitionOptions["types"]`. If the browser does not support viewTransition types, the navigation will fall back to normal `document.startTransition()`, same as if `true` was passed.
- If [`ViewTransitionOptions`](../ViewTransitionOptionsType.md), route navigations will be called using `document.startViewTransition({update, types})` where `types` will be the strings array passed with `ViewTransitionOptions["types"]`. If the browser does not support viewTransition types, the navigation will fall back to normal `document.startTransition()`, same as if `true` was passed.
- If the browser does not support this api, this option will be ignored.
- See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Document/startViewTransition) for more information on how this function works.
- See [Google](https://developer.chrome.com/docs/web-platform/view-transitions/same-document#view-transition-types) for more information on viewTransition types
Expand All @@ -75,4 +75,4 @@ The `NavigateOptions` object accepts the following properties:
- Optional
- This can be used instead of `to` to navigate to a fully built href, e.g. pointing to an external target.

- [`ToOptions`](./ToOptionsType.md)
- [`ToOptions`](../ToOptionsType.md)
4 changes: 2 additions & 2 deletions docs/router/framework/react/api/router/NotFoundRouteClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: NotFoundRoute class
> [!CAUTION]
> This class has been deprecated and will be removed in the next major version of TanStack Router.
> Please use the `notFoundComponent` route option that is present during route configuration.
> See the [Not Found Errors guide](../../guide/not-found-errors.md) for more information.
> See the [Not Found Errors guide](../../../guide/not-found-errors.md) for more information.

The `NotFoundRoute` class extends the `Route` class and can be used to create a not found route instance. A not found route instance can be passed to the `routerOptions.notFoundRoute` option to configure a default not-found/404 route for every branch of the route tree.

Expand All @@ -28,7 +28,7 @@ Omit<
>
```

- [RouteOptions](./RouteOptionsType.md)
- [RouteOptions](../RouteOptionsType.md)
- Required
- The options that will be used to configure the not found route instance.

Expand Down
2 changes: 1 addition & 1 deletion docs/router/framework/react/api/router/RedirectType.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export type Redirect = {
} & NavigateOptions
```

- [`NavigateOptions`](./NavigateOptionsType.md)
- [`NavigateOptions`](../NavigateOptionsType.md)

## Redirect properties

Expand Down
6 changes: 3 additions & 3 deletions docs/router/framework/react/api/router/RootRouteClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: RootRoute class

> [!CAUTION]
> This class has been deprecated and will be removed in the next major version of TanStack Router.
> Please use the [`createRootRoute`](./createRootRouteFunction.md) function instead.
> Please use the [`createRootRoute`](../createRootRouteFunction.md) function instead.

The `RootRoute` class extends the `Route` class and can be used to create a root route instance. A root route instance can then be used to create a route tree.

Expand All @@ -31,12 +31,12 @@ Omit<
>
```

- [`RouteOptions`](./RouteOptionsType.md)
- [`RouteOptions`](../RouteOptionsType.md)
- Optional

## Constructor returns

A new [`Route`](./RouteType.md) instance.
A new [`Route`](../RouteType.md) instance.

## Examples

Expand Down
4 changes: 2 additions & 2 deletions docs/router/framework/react/api/router/RouteApiClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: RouteApi class

> [!CAUTION]
> This class has been deprecated and will be removed in the next major version of TanStack Router.
> Please use the [`getRouteApi`](./getRouteApiFunction.md) function instead.
> Please use the [`getRouteApi`](../getRouteApiFunction.md) function instead.

The `RouteApi` class provides type-safe version of common hooks like `useParams`, `useSearch`, `useRouteContext`, `useNavigate`, `useLoaderData`, and `useLoaderDeps` that are pre-bound to a specific route ID and corresponding registered route types.

Expand All @@ -21,7 +21,7 @@ The `RouteApi` constructor accepts a single argument: the `options` that will be

## Constructor returns

- An instance of the [`RouteApi`](./RouteApiType.md) that is pre-bound to the route ID that it was called with.
- An instance of the [`RouteApi`](../RouteApiType.md) that is pre-bound to the route ID that it was called with.

## Examples

Expand Down
Loading