MCPcopy Create free account

hub / github.com/TanStack/router / functions

Functions10,449 in github.com/TanStack/router

↓ 6 callersFunctionrandomSegment
(random: () => number)
benchmarks/memory/client/bench-utils.ts:18
↓ 6 callersFunctionremoveBenchContainer
(container: HTMLDivElement | undefined)
benchmarks/memory/client/lifecycle.ts:33
↓ 6 callersFunctionreplaceBackslash
(s: string)
packages/router-generator/src/utils.ts:416
↓ 6 callersMethodreset
()
packages/react-router/src/CatchBoundary.tsx:58
↓ 6 callersFunctionresolvePath
({ base, to, trailingSlash = 'never', cache, }: ResolvePathOptions)
packages/router-core/src/path.ts:109
↓ 6 callersFunctionresolveRuntimeSuffix
(input?: string)
e2e/e2e-utils/src/resolve-runtime-suffix.ts:7
↓ 6 callersFunctionsetResponseStatus
(code?: number, text?: string)
packages/start-server-core/src/request-response.ts:278
↓ 6 callersMethodsetTimeout
(callback: (...args: any[]) => void, msDelay?: number)
e2e/solid-start/basic-cloudflare/worker-configuration.d.ts:297
↓ 6 callersMethodstop
()
packages/start-plugin-core/src/queue.ts:114
↓ 6 callersFunctiontoRuntimePath
(input: string)
e2e/e2e-utils/src/to-runtime-path.ts:14
↓ 6 callersMethodtransform
* Apply transform next, returning a transform handle. * You can then apply more transformations, draw, or retrieve the output. * @param tran
e2e/solid-start/basic-cloudflare/worker-configuration.d.ts:10193
↓ 6 callersFunctionunsub
()
benchmarks/client-nav/vue/setup.ts:19
↓ 6 callersFunctionuseCanGoBack
()
packages/vue-router/src/useCanGoBack.ts:4
↓ 6 callersFunctionuseHydrated
()
packages/solid-router/src/ClientOnly.tsx:61
↓ 6 callersFunctionuseLoaderDeps
( opts: UseLoaderDepsOptions<TRouter, TFrom, TSelected>, )
packages/vue-router/src/useLoaderDeps.tsx:33
↓ 6 callersFunctionuseLoaderDeps
( opts: UseLoaderDepsOptions<TRouter, TFrom, TSelected>, )
packages/solid-router/src/useLoaderDeps.tsx:33
↓ 6 callersFunctionuseLoaderDeps
( opts: UseLoaderDepsOptions<TRouter, TFrom, TSelected, TStructuralSharing>, )
packages/react-router/src/useLoaderDeps.tsx:54
↓ 6 callersFunctionuseMatches
( opts?: UseMatchesBaseOptions<TRouter, TSelected>, )
packages/vue-router/src/Matches.tsx:289
↓ 6 callersFunctionuseMutation
(opts: { fn: (variables: TVariables) => Promise<TData> onSuccess?: (ctx: { data: TData }) => void | Promis
examples/react/kitchen-sink/src/useMutation.tsx:3
↓ 6 callersFunctionuseMutation
(opts: { fn: (variables: TVariables) => Promise<TData> onSuccess?: (ctx: { data: TData }) => void | Promis
examples/react/kitchen-sink-file-based/src/hooks/useMutation.tsx:3
↓ 6 callersFunctionuseMutation
(opts: { fn: (variables: TVariables) => Promise<TData> onSuccess?: (ctx: { data: TData }) => void | Promis
examples/solid/kitchen-sink-file-based/src/hooks/useMutation.tsx:3
↓ 6 callersFunctionuseStyles
()
packages/router-devtools-core/src/useStyles.tsx:620
↓ 6 callersFunctionwarnClientMemoryDevMode
(framework: Framework)
benchmarks/memory/client/lifecycle.ts:18
↓ 5 callersFunctionaddPatternBindingsIfTracked
( pattern: t.LVal, tracked: Set<string>, out: Set<string>, )
packages/start-plugin-core/src/import-protection/analysis.ts:511
↓ 5 callersFunctionappendUniqueUserTags
( target: Array<RouterManagedTag>, tags: Array<RouterManagedTag>, )
packages/router-core/src/manifest.ts:145
↓ 5 callersMethodbuild
( dest: BuildNextOptions & { unmaskOnReload?: boolean } = {}, )
packages/router-core/src/router.ts:1850
↓ 5 callersFunctionbuildDependencyGraph
( declarationMap: Map<string, t.Node>, localBindings: Set<string>, )
packages/router-utils/src/compiler-helpers.ts:601
↓ 5 callersFunctionbuildLineIndex
(code: string)
packages/start-plugin-core/src/import-protection/sourceLocation.ts:70
↓ 5 callersFunctionbuildMatchContext
( inner: InnerLoadContext, index: number, includeCurrentMatch: boolean = true, )
packages/router-core/src/load-matches.ts:61
↓ 5 callersFunctioncompileCodeSplitReferenceRoute
( opts: ParseAstOptions & CompileCodeSplitReferenceRouteOptions & { compilerPlugins?: Array<Refere
packages/router-plugin/src/core/code-splitter/compilers.ts:364
↓ 5 callersFunctioncompileMatchers
( patterns: Array<Pattern>, )
packages/start-plugin-core/src/import-protection/matchers.ts:47
↓ 5 callersFunctioncomposeRewrites
(rewrites: Array<LocationRewrite>)
packages/router-core/src/rewrite.ts:5
↓ 5 callersFunctioncreateContext
(init: { headers?: Record<string, string> handlerType?: 'serverFn' | 'router' origin?: string })
packages/start-server-core/tests/createCsrfMiddleware.test.ts:33
↓ 5 callersFunctioncreateDeterministicRandom
(seed: number)
benchmarks/memory/client/bench-utils.ts:9
↓ 5 callersFunctioncreateLazyFileRoute
(id: TFilePath)
packages/vue-router/src/fileRoute.ts:258
↓ 5 callersFunctioncreateLink
( Comp: Constrain<TComp, any, (props: CreateLinkProps) => Vue.VNode>, )
packages/vue-router/src/link.tsx:849
↓ 5 callersFunctioncreateLink
( Comp: Constrain<TComp, any, (props: CreateLinkProps) => Solid.JSX.Element>, )
packages/solid-router/src/link.tsx:636
↓ 5 callersFunctioncreateRequestHandler
({ createRouter, request, getRouterManifest, }: { createRouter: () => TRouter request: Request get
packages/router-core/src/ssr/createRequestHandler.ts:18
↓ 5 callersFunctioncreateRoutePathSegmentMetadata
( routePath: string = '/', originalPath?: string, )
packages/router-generator/src/utils.ts:307
↓ 5 callersFunctioncreateVirtualModule
(opts: { name: string moduleId: string load: VirtualModuleLoadHandler apply?: Plugin['apply'] applyT
packages/start-plugin-core/src/vite/createVirtualModule.ts:9
↓ 5 callersFunctiondeadCodeElimination
( ast: ParseResult<_babel_types.File>, candidates?: ReturnType<typeof findReferencedIdentifiers>, )
packages/router-utils/src/ast.ts:186
↓ 5 callersFunctionencodeFrame
( type: FrameType, streamId: number, payload: Uint8Array, )
packages/start-server-core/src/frame-protocol.ts:31
↓ 5 callersFunctionencodeFrame
* Helper to encode a frame for testing
packages/start-client-core/tests/frame-decoder.test.ts:8
↓ 5 callersFunctionerror
(error)
examples/react/start-bun/server.ts:541
↓ 5 callersFunctionexecuteRewriteInput
( rewrite: LocationRewrite | undefined, url: URL, )
packages/router-core/src/rewrite.ts:57
↓ 5 callersFunctionexpandTransitively
( bindings: Set<string>, dependencyGraph: Map<string, Set<string>>, )
packages/router-utils/src/compiler-helpers.ts:637
↓ 5 callersFunctionfetch
(request: Request)
e2e/solid-start/basic/src/server.ts:8
↓ 5 callersFunctionfetchPost
(postId: string)
e2e/vue-start/virtual-routes/src/posts.tsx:16
↓ 5 callersFunctionfetchPost
(postId: string)
e2e/solid-start/virtual-routes/src/posts.tsx:16
↓ 5 callersFunctionfindSingleMatch
( from: string, caseSensitive: boolean, fuzzy: boolean, path: string, processedTree: ProcessedTree<a
packages/router-core/src/new-process-route-tree.ts:697
↓ 5 callersMethodflush
* Flushes any pending scripts synchronously. * Call this before signaling serialization finished to ensure all scripts are injected. * * IMPO
packages/router-core/src/ssr/ssr-server.ts:119
↓ 5 callersFunctionformatViolation
(info: ViolationInfo, root: string)
packages/start-plugin-core/src/import-protection/trace.ts:198
↓ 5 callersFunctiongetAssetCrossOrigin
( assetCrossOrigin: AssetCrossOriginConfig | undefined, kind: 'script' | 'stylesheet', )
packages/router-core/src/manifest.ts:17
↓ 5 callersFunctiongetConfig
(inlineConfig: Partial<Config>, root: string)
packages/router-plugin/src/core/config.ts:134
↓ 5 callersFunctiongetDefaultSessionConfig
(config: SessionConfig)
packages/start-server-core/src/request-response.ts:355
↓ 5 callersFunctiongetLookupKindsForEnv
( env: 'client' | 'server', opts?: { compilerTransforms?: Array<StartCompilerImportTransform> | undefi
packages/start-plugin-core/src/start-compiler/compiler.ts:174
↓ 5 callersFunctiongetLookupSetup
( kind: LookupKind, externalLookupSetup?: Map<ExternalLookupKind, DirectCallSetup>, )
packages/start-plugin-core/src/start-compiler/compiler.ts:274
↓ 5 callersFunctiongetOrCreateImportAnalysis
( result: TransformResult, )
packages/start-plugin-core/src/import-protection/analysis.ts:350
↓ 5 callersFunctiongetOrCreateOriginalTransformResult
( result: TransformResult, importerFile?: string, root?: string, )
packages/start-plugin-core/src/import-protection/sourceLocation.ts:354
↓ 5 callersFunctiongetPort
()
e2e/vue-router/basic-esbuild-file-based/src/esbuild.run.js:17
↓ 5 callersFunctiongetScriptPreloadAttrs
( manifest: { scriptFormat?: ScriptFormat } | undefined, link: ManifestAssetLink, assetCrossOrigin?: Ass
packages/router-core/src/manifest.ts:38
↓ 5 callersFunctionhandler
(builder)
packages/start-plugin-core/src/vite/plugins.ts:88
↓ 5 callersFunctioninitConfigAndGenerator
(opts?: { root?: string })
packages/router-plugin/src/core/router-generator-plugin.ts:30
↓ 5 callersFunctionisDangerousProtocol
( url: string, allowlist: Set<string>, )
packages/router-core/src/utils.ts:594
↓ 5 callersFunctionisExternalLookupKind
(kind: Kind)
packages/start-plugin-core/src/start-compiler/compiler.ts:81
↓ 5 callersFunctionisInsideDirectory
( filePath: string, directory: string, )
packages/start-plugin-core/src/import-protection/utils.ts:147
↓ 5 callersFunctionjoinPaths
(paths: Array<string | undefined>)
packages/router-core/src/path.ts:13
↓ 5 callersFunctionlazyRouteComponent
( importer: () => Promise<T>, exportName?: TKey, ssr?: () => boolean, )
packages/vue-router/src/lazyRouteComponent.tsx:23
↓ 5 callersFunctionload
()
packages/start-client-core/src/hydration/load.ts:14
↓ 5 callersFunctionloaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/react/kitchen-sink-react-query-file-based/src/utils/utils.tsx:1
↓ 5 callersFunctionloaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/react/kitchen-sink-react-query/src/utils.tsx:1
↓ 5 callersFunctionloaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/react/kitchen-sink/src/utils.tsx:1
↓ 5 callersFunctionloaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/react/kitchen-sink-file-based/src/utils/utils.tsx:1
↓ 5 callersFunctionloaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/solid/kitchen-sink-solid-query/src/utils.tsx:1
↓ 5 callersFunctionloaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/solid/kitchen-sink/src/utils.tsx:1
↓ 5 callersFunctionloaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/solid/kitchen-sink-file-based/src/utils/utils.tsx:1
↓ 5 callersFunctionloaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/solid/kitchen-sink-solid-query-file-based/src/utils/utils.tsx:1
↓ 5 callersFunctionmakeTransientResult
( code: string, filename?: string, perf?: TransformResult['perf'], )
packages/start-plugin-core/src/import-protection/analysis.ts:34
↓ 5 callersFunctionnextAnimationFrame
()
benchmarks/memory/client/lifecycle.ts:37
↓ 5 callersMethodnotify
()
packages/react-start-rsc/src/ReplayableStream.ts:158
↓ 5 callersMethodobserve
()
packages/vue-router/tests/utils.ts:46
↓ 5 callersFunctiononChange
()
packages/start-client-core/src/hydration/media.ts:16
↓ 5 callersFunctiononSubmit
(e: React.FormEvent<HTMLFormElement>)
examples/react/kitchen-sink/src/main.tsx:769
↓ 5 callersFunctionparseArgs
(argv)
scripts/benchmarks/bundle-size/measure.mjs:146
↓ 5 callersFunctionparseSegment
( /** The full path string containing the segment. */ path: string, /** The starting index of the segmen
packages/router-core/src/new-process-route-tree.ts:73
↓ 5 callersFunctionremoveTrailingSlash
(value: string, basepath: string)
packages/router-core/src/path.ts:46
↓ 5 callersFunctionrenderRouterToStream
({ request, router, responseHeaders, App, }: { request: Request router: AnyRouter responseHeader
packages/vue-router/src/ssr/renderRouterToStream.tsx:66
↓ 5 callersMethodresolveIdCached
(id: string, importer?: string)
packages/start-plugin-core/src/start-compiler/compiler.ts:719
↓ 5 callersFunctionresolveViteId
(id: string)
packages/start-plugin-core/src/utils.ts:12
↓ 5 callersFunctionroutePathToVariable
(routePath: string)
packages/router-generator/src/utils.ts:452
↓ 5 callersFunctionseo
({ title, description, keywords, image, }: { title: string description?: string image?: string
e2e/vue-start/basic/src/utils/seo.ts:1
↓ 5 callersMethodsetOptions
(options: Partial<TanStackRouterDevtoolsCoreOptions>)
packages/router-devtools-core/src/TanStackRouterDevtoolsCore.tsx:144
↓ 5 callersMethodsetRouter
(router: AnyRouter)
packages/router-devtools-core/src/TanStackRouterDevtoolsCore.tsx:136
↓ 5 callersMethodsetRouterState
(routerState: any)
packages/router-devtools-core/src/TanStackRouterDevtoolsCore.tsx:140
↓ 5 callersFunctionsetupRouterSsrQueryIntegration
( opts: Options<TRouter>, )
packages/solid-router-ssr-query/src/index.tsx:12
↓ 5 callersFunctionsleep
(ms: number)
packages/vue-router/tests/utils.ts:3
↓ 5 callersFunctionsleep
(ms: number)
packages/solid-router/tests/utils.ts:3
↓ 5 callersFunctiontoError
(reason: unknown)
packages/react-router/src/ssr/renderRouterToStream.tsx:95
↓ 5 callersFunctiontoValue
* Converts a string value to its appropriate type (string, number, boolean). * @param mix - The string value to convert. * @returns The converted va
packages/router-core/src/qss.ts:49
↓ 5 callersFunctiontransformStreamWithRouter
( router: AnyRouter, appStream: ReadableStream, opts?: TransformStreamWithRouterOptions, )
packages/router-core/src/ssr/transformStreamWithRouter.ts:199
← previousnext →301–400 of 10,449, ranked by callers