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