Open History to see the last commit
1export {
2 defer,
3 isMatch,
4 joinPaths,
5 cleanPath,
6 trimPathLeft,
7 trimPathRight,
8 trimPath,
9 resolvePath,
10 interpolatePath,
11 rootRouteId,
12 defaultParseSearch,
13 defaultStringifySearch,
14 parseSearchWith,
15 stringifySearchWith,
16 functionalUpdate,
17 replaceEqualDeep,
18 deepEqual,
19 createControlledPromise,
20 retainSearchParams,
21 stripSearchParams,
22 createSerializationAdapter,
23} from '@tanstack/router-core'
24β
25export type {
26 DeferredPromiseState,
27 DeferredPromise,
28 ParsedLocation,
29 RemoveTrailingSlashes,
30 RemoveLeadingSlashes,
31 ActiveOptions,
32 ResolveRelativePath,
33 RootRouteId,
34 AnyPathParams,
35 ResolveParams,
36 ResolveOptionalParams,
37 ResolveRequiredParams,
38 SearchSchemaInput,
39 AnyContext,
40 RouteContext,
41 PreloadableObj,
42 RoutePathOptions,
43 StaticDataRouteOption,
44 RoutePathOptionsIntersection,
45 UpdatableStaticRouteOption,
46 MetaDescriptor,
47 RouteLinkEntry,
48 ParseParamsFn,
49 SearchFilter,
50 ResolveId,
51 InferFullSearchSchema,
52 InferFullSearchSchemaInput,
53 ErrorRouteProps,
54 ErrorComponentProps,
55 NotFoundRouteProps,
56 TrimPath,
57 TrimPathLeft,
58 TrimPathRight,
59 StringifyParamsFn,
60 ParamsOptions,
61 InferAllParams,
62 InferAllContext,
63 LooseReturnType,
64 LooseAsyncReturnType,
65 ContextReturnType,
66 ContextAsyncReturnType,
67 ResolveLoaderData,
68 ResolveRouteContext,
69 SearchSerializer,
70 SearchParser,
71 TrailingSlashOption,
72 Manifest,
73 RouterManagedTag,
74 ControlledPromise,
75 Constrain,
76 Expand,
77 MergeAll,
78 Assign,
79 IntersectAssign,
80 ResolveValidatorInput,
81 ResolveValidatorOutput,
82 AnyValidator,
83 DefaultValidator,
84 ValidatorFn,
85 AnySchema,
86 AnyValidatorAdapter,
87 AnyValidatorFn,
88 AnyValidatorObj,
89 ResolveValidatorInputFn,
90 ResolveValidatorOutputFn,
91 ResolveSearchValidatorInput,
92 ResolveSearchValidatorInputFn,
93 Validator,
94 ValidatorAdapter,
95 ValidatorObj,
96 NavigateFn,
97 BuildLocationFn,
98 InferDescendantToPaths,
99 RelativeToPath,
100 RelativeToParentPath,
101 RelativeToCurrentPath,
102 Register,
103 AbsoluteToPath,
104 RelativeToPathAutoComplete,
105 NavigateOptions,
106 ToOptions,
107 ToMaskOptions,
108 ToSubOptions,
109 ResolveRoute,
110 SearchParamOptions,
111 PathParamOptions,
112 ToPathOption,
113 LinkOptions,
114 MakeOptionalPathParams,
115 AnyRouterWithContext,
116 ParseRoute,
117 RoutesById,
118 RouteById,
119 RouteIds,
120 RoutesByPath,
121 RouteByPath,
122 RoutePaths,
123 FullSearchSchema,
124 AllParams,
125 AllLoaderData,
126 FullSearchSchemaInput,
127 AllContext,
128 CommitLocationOptions,
129 MatchLocation,
130 ResolveFullSearchSchema,
131 ResolveFullSearchSchemaInput,
132 ResolveAllParamsFromParent,
133 RouteContextParameter,
134 BeforeLoadContextParameter,
135 ResolveAllContext,
136 FullSearchSchemaOption,
137 MakeRemountDepsOptionsUnion,
138 RemountDepsOptions,
139 FileRouteTypes,
140 FileRoutesByPath,
141 UseNavigateResult,
142 AnyRedirect,
143 Redirect,
144 RedirectOptions,
145 ResolvedRedirect,
146 RouteOptions,
147 FileBaseRouteOptions,
148 BaseRouteOptions,
149 UpdatableRouteOptions,
150 RouteLoaderFn,
151 LoaderFnContext,
152 MakeRouteMatch,
153 MakeRouteMatchUnion,
154 RouteMatch,
155 AnyRouteMatch,
156 RouteContextFn,
157 RouteContextOptions,
158 BeforeLoadContextOptions,
159 ContextOptions,
160 RootRouteOptions,
161 AnyRouteWithContext,
162 LazyRouteOptions,
163 AnyRoute,
164 ResolveFullPath,
165 RouteConstraints,
166 RouterState,
167 ListenerFn,
168 BuildNextOptions,
169 AnyRouter,
170 RegisteredRouter,
171 RouterEvents,
172 RouterEvent,
173 RouterListener,
174 MatchRouteOptions,
175 RouteMask,
176 RouterContextOptions,
177 RouterOptions,
178 RouterConstructorOptions,
179 ControllablePromise,
180 CreateFileRoute,
181 CreateLazyFileRoute,
182 AnySerializationAdapter,
183 SerializationAdapter,
184 SerializableExtensions,
185} from '@tanstack/router-core'
186β
187export {
188 createHistory,
189 createBrowserHistory,
190 createHashHistory,
191 createMemoryHistory,
192} from '@tanstack/history'
193β
194export type {
195 BlockerFn,
196 HistoryLocation,
197 RouterHistory,
198 ParsedPath,
199 HistoryState,
200} from '@tanstack/history'
201β
202export { useAwaited, Await } from './awaited'
203export type { AwaitOptions } from './awaited'
204β
205export { CatchBoundary, ErrorComponent } from './CatchBoundary'
206export { ClientOnly, useHydrated } from './ClientOnly'
207β
208export {
209 FileRoute,
210 createFileRoute,
211 FileRouteLoader,
212 LazyRoute,
213 createLazyRoute,
214 createLazyFileRoute,
215} from './fileRoute'
216β
217export * from './history'
218β
219export { lazyRouteComponent } from './lazyRouteComponent'
220β
221export { useLinkProps, createLink, Link, linkOptions } from './link'
222export type {
223 UseLinkPropsOptions,
224 ActiveLinkOptions,
225 LinkProps,
226 LinkComponent,
227 LinkComponentProps,
228 CreateLinkProps,
229} from './link'
230β
231export {
232 Matches,
233 useMatchRoute,
234 MatchRoute,
235 useMatches,
236 useParentMatches,
237 useChildMatches,
238} from './Matches'
239β
240export type { UseMatchRouteOptions, MakeMatchRouteOptions } from './Matches'
241β
242export { Match, Outlet } from './Match'
243β
244export { useMatch } from './useMatch'
245export { useLoaderDeps } from './useLoaderDeps'
246export { useLoaderData } from './useLoaderData'
247β
248export {
249 redirect,
250 isRedirect,
251 DEFAULT_PROTOCOL_ALLOWLIST,
252} from '@tanstack/router-core'
253β
254export {
255 RouteApi,
256 getRouteApi,
257 Route,
258 createRoute,
259 RootRoute,
260 rootRouteWithContext,
261 createRootRoute,
262 createRootRouteWithContext,
263 createRouteMask,
264 NotFoundRoute,
265} from './route'
266export type {
267 AnyRootRoute,
268 SolidNode,
269 AsyncRouteComponent,
270 RouteComponent,
271 ErrorRouteComponent,
272 NotFoundRouteComponent,
273} from './route'
274β
275export { createRouter, Router } from './router'
276β
277export { lazyFn, SearchParamError } from '@tanstack/router-core'
278β
279export { RouterProvider, RouterContextProvider } from './RouterProvider'
280export type { RouterProps } from './RouterProvider'
281β
282export {
283 useElementScrollRestoration,
284 ScrollRestoration,
285} from './ScrollRestoration'
286β
287export type { UseBlockerOpts, ShouldBlockFn } from './useBlocker'
288export { useBlocker, Block } from './useBlocker'
289β
290export { useNavigate, Navigate } from './useNavigate'
291β
292export { useParams } from './useParams'
293export { useSearch } from './useSearch'
294β
295export { useRouteContext } from './useRouteContext'
296export { useRouter } from './useRouter'
297export { useRouterState } from './useRouterState'
298export { useLocation } from './useLocation'
299export { useCanGoBack } from './useCanGoBack'
300β
301export { CatchNotFound, DefaultGlobalNotFound } from './not-found'
302export { notFound, isNotFound } from '@tanstack/router-core'
303export type { NotFoundError } from '@tanstack/router-core'
304β
305export type {
306 ValidateLinkOptions,
307 ValidateUseSearchOptions,
308 ValidateUseParamsOptions,
309 ValidateLinkOptionsArray,
310} from './typePrimitives'
311β
312export type {
313 ValidateFromPath,
314 ValidateToPath,
315 ValidateSearch,
316 ValidateParams,
317 InferFrom,
318 InferTo,
319 InferMaskTo,
320 InferMaskFrom,
321 ValidateNavigateOptions,
322 ValidateNavigateOptionsArray,
323 ValidateRedirectOptions,
324 ValidateRedirectOptionsArray,
325 ValidateId,
326 InferStrict,
327 InferShouldThrow,
328 InferSelected,
329 ValidateUseSearchResult,
330 ValidateUseParamsResult,
331} from '@tanstack/router-core'
332β
333export { ScriptOnce } from './ScriptOnce'
334β
335export { Asset } from './Asset'
336export { HeadContent } from './HeadContent'
337export { useTags } from './headContentUtils'
338export { Scripts } from './Scripts'
339export { composeRewrites } from '@tanstack/router-core'
340export type {
341 LocationRewrite,
342 LocationRewriteFunction,
343} from '@tanstack/router-core'