Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/router
/ functions
Functions
11,090 in github.com/TanStack/router
⨍
Functions
11,090
◇
Types & classes
6,385
↓ 6 callers
Function
detectKindsInCode
( code: string, env: 'client' | 'server', opts?: { compilerTransforms?: Array<StartCompilerImportTra
packages/start-plugin-core/src/start-compiler/compiler.ts:228
↓ 6 callers
Function
fetchPost
(postId: string)
e2e/react-start/virtual-routes/src/posts.tsx:16
↓ 6 callers
Function
fetchPosts
()
examples/react/basic/src/posts.ts:11
↓ 6 callers
Function
functionalUpdate
( updater: Updater<TPrevious, TResult> | NonNullableUpdater<TPrevious, TResult>, previous: TPrevious, )
packages/router-core/src/utils.ts:204
↓ 6 callers
Function
getCount
()
packages/router-plugin/tests/code-splitter/test-files/react/shared-indirect-ref.tsx:5
↓ 6 callers
Function
getObjectPropertyKeyName
( prop: t.ObjectProperty, )
packages/router-plugin/src/core/utils.ts:25
↓ 6 callers
Function
inferFullPath
(routeNode: RouteNode)
packages/router-generator/src/utils.ts:891
↓ 6 callers
Function
invariant
(value: unknown, message?: string)
examples/react/start-convex-trellaux/src/invariant.ts:1
↓ 6 callers
Function
isPromise
( value: Promise<Awaited<T>> | T, )
packages/router-core/src/utils.ts:504
↓ 6 callers
Function
match
()
packages/solid-router/src/Matches.tsx:67
↓ 6 callers
Function
parse
(code: string)
packages/router-plugin/tests/shared-bindings-helpers.test.ts:22
↓ 6 callers
Function
randomSegment
(random: () => number)
benchmarks/memory/client/bench-utils.ts:18
↓ 6 callers
Function
removeBenchContainer
(container: HTMLDivElement | undefined)
benchmarks/memory/client/lifecycle.ts:33
↓ 6 callers
Function
replaceBackslash
(s: string)
packages/router-generator/src/utils.ts:416
↓ 6 callers
Method
reset
()
packages/react-router/src/CatchBoundary.tsx:58
↓ 6 callers
Function
resolvePath
({ base, to, trailingSlash = 'never', cache, }: ResolvePathOptions)
packages/router-core/src/path.ts:109
↓ 6 callers
Function
resolveRuntimeSuffix
(input?: string)
e2e/e2e-utils/src/resolve-runtime-suffix.ts:7
↓ 6 callers
Function
setResponseStatus
(code?: number, text?: string)
packages/start-server-core/src/request-response.ts:278
↓ 6 callers
Method
setTimeout
(callback: (...args: any[]) => void, msDelay?: number)
e2e/solid-start/basic-cloudflare/worker-configuration.d.ts:297
↓ 6 callers
Method
stop
()
packages/start-plugin-core/src/queue.ts:114
↓ 6 callers
Function
toRuntimePath
(input: string)
e2e/e2e-utils/src/to-runtime-path.ts:14
↓ 6 callers
Method
transform
* 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 callers
Function
unsub
()
benchmarks/client-nav/vue/setup.ts:19
↓ 6 callers
Function
useHydrated
()
packages/solid-router/src/ClientOnly.tsx:61
↓ 6 callers
Function
useLoaderDeps
( opts: UseLoaderDepsOptions<TRouter, TFrom, TSelected>, )
packages/vue-router/src/useLoaderDeps.tsx:33
↓ 6 callers
Function
useLoaderDeps
( opts: UseLoaderDepsOptions<TRouter, TFrom, TSelected>, )
packages/solid-router/src/useLoaderDeps.tsx:33
↓ 6 callers
Function
useLoaderDeps
( opts: UseLoaderDepsOptions<TRouter, TFrom, TSelected, TStructuralSharing>, )
packages/react-router/src/useLoaderDeps.tsx:54
↓ 6 callers
Function
useMatchRoute
()
packages/vue-router/src/Matches.tsx:152
↓ 6 callers
Function
useMatchRoute
()
packages/solid-router/src/Matches.tsx:127
↓ 6 callers
Function
useMatchRoute
()
packages/react-router/src/Matches.tsx:141
↓ 6 callers
Function
useMatches
( opts?: UseMatchesBaseOptions<TRouter, TSelected>, )
packages/vue-router/src/Matches.tsx:289
↓ 6 callers
Function
useMutation
(opts: { fn: (variables: TVariables) => Promise<TData> onSuccess?: (ctx: { data: TData }) => void | Promis
examples/react/kitchen-sink/src/useMutation.tsx:3
↓ 6 callers
Function
useMutation
(opts: { fn: (variables: TVariables) => Promise<TData> onSuccess?: (ctx: { data: TData }) => void | Promis
examples/react/kitchen-sink-file-based/src/hooks/useMutation.tsx:3
↓ 6 callers
Function
useMutation
(opts: { fn: (variables: TVariables) => Promise<TData> onSuccess?: (ctx: { data: TData }) => void | Promis
examples/solid/kitchen-sink-file-based/src/hooks/useMutation.tsx:3
↓ 6 callers
Function
useStyles
()
packages/router-devtools-core/src/useStyles.tsx:620
↓ 6 callers
Function
warnClientMemoryDevMode
(framework: Framework)
benchmarks/memory/client/lifecycle.ts:18
↓ 5 callers
Function
addPatternBindingsIfTracked
( pattern: t.LVal, tracked: Set<string>, out: Set<string>, )
packages/start-plugin-core/src/import-protection/analysis.ts:511
↓ 5 callers
Function
appendUniqueUserTags
( target: Array<RouterManagedTag>, tags: Array<RouterManagedTag>, )
packages/router-core/src/manifest.ts:145
↓ 5 callers
Function
articleTitle
(id: string)
benchmarks/client-nav/scenarios/head/shared.ts:23
↓ 5 callers
Method
build
( dest: BuildNextOptions & { unmaskOnReload?: boolean } = {}, )
packages/router-core/src/router.ts:1847
↓ 5 callers
Function
buildDependencyGraph
( declarationMap: Map<string, t.Node>, localBindings: Set<string>, )
packages/router-utils/src/compiler-helpers.ts:601
↓ 5 callers
Function
buildLineIndex
(code: string)
packages/start-plugin-core/src/import-protection/sourceLocation.ts:70
↓ 5 callers
Function
buildMatchContext
( inner: InnerLoadContext, index: number, includeCurrentMatch: boolean = true, )
packages/router-core/src/load-matches.ts:61
↓ 5 callers
Function
checksum
(seed: number)
benchmarks/client-nav/scenarios/async-pipeline/shared.ts:37
↓ 5 callers
Function
compileCodeSplitReferenceRoute
( opts: ParseAstOptions & CompileCodeSplitReferenceRouteOptions & { compilerPlugins?: Array<Refere
packages/router-plugin/src/core/code-splitter/compilers.ts:364
↓ 5 callers
Function
compileMatchers
( patterns: Array<Pattern>, )
packages/start-plugin-core/src/import-protection/matchers.ts:47
↓ 5 callers
Function
composeRewrites
(rewrites: Array<LocationRewrite>)
packages/router-core/src/rewrite.ts:5
↓ 5 callers
Function
createContext
(init: { headers?: Record<string, string> handlerType?: 'serverFn' | 'router' origin?: string })
packages/start-server-core/tests/createCsrfMiddleware.test.ts:33
↓ 5 callers
Function
createDeterministicRandom
(seed: number)
benchmarks/memory/client/bench-utils.ts:9
↓ 5 callers
Function
createLazyFileRoute
(id: TFilePath)
packages/vue-router/src/fileRoute.ts:258
↓ 5 callers
Function
createLink
( Comp: Constrain<TComp, any, (props: CreateLinkProps) => Vue.VNode>, )
packages/vue-router/src/link.tsx:849
↓ 5 callers
Function
createLink
( Comp: Constrain<TComp, any, (props: CreateLinkProps) => Solid.JSX.Element>, )
packages/solid-router/src/link.tsx:636
↓ 5 callers
Function
createRequestHandler
({ createRouter, request, getRouterManifest, }: { createRouter: () => TRouter request: Request get
packages/router-core/src/ssr/createRequestHandler.ts:18
↓ 5 callers
Function
createRoutePathSegmentMetadata
( routePath: string = '/', originalPath?: string, )
packages/router-generator/src/utils.ts:307
↓ 5 callers
Function
createVirtualModule
(opts: { name: string moduleId: string load: VirtualModuleLoadHandler apply?: Plugin['apply'] applyT
packages/start-plugin-core/src/vite/createVirtualModule.ts:9
↓ 5 callers
Function
deadCodeElimination
( ast: ParseResult<_babel_types.File>, candidates?: ReturnType<typeof findReferencedIdentifiers>, )
packages/router-utils/src/ast.ts:186
↓ 5 callers
Function
docsTitle
(section: string)
benchmarks/client-nav/scenarios/head/shared.ts:15
↓ 5 callers
Function
encodeFrame
( type: FrameType, streamId: number, payload: Uint8Array, )
packages/start-server-core/src/frame-protocol.ts:31
↓ 5 callers
Function
encodeFrame
* Helper to encode a frame for testing
packages/start-client-core/tests/frame-decoder.test.ts:8
↓ 5 callers
Function
error
(error)
examples/react/start-bun/server.ts:541
↓ 5 callers
Function
executeRewriteInput
( rewrite: LocationRewrite | undefined, url: URL, )
packages/router-core/src/rewrite.ts:57
↓ 5 callers
Function
expandTransitively
( bindings: Set<string>, dependencyGraph: Map<string, Set<string>>, )
packages/router-utils/src/compiler-helpers.ts:637
↓ 5 callers
Function
fetch
(request: Request)
e2e/solid-start/basic/src/server.ts:8
↓ 5 callers
Function
fetchPost
(postId: string)
e2e/vue-start/virtual-routes/src/posts.tsx:16
↓ 5 callers
Function
fetchPost
(postId: string)
e2e/solid-start/virtual-routes/src/posts.tsx:16
↓ 5 callers
Function
findSingleMatch
( from: string, caseSensitive: boolean, fuzzy: boolean, path: string, processedTree: ProcessedTree<a
packages/router-core/src/new-process-route-tree.ts:697
↓ 5 callers
Method
flush
* 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 callers
Function
formatViolation
(info: ViolationInfo, root: string)
packages/start-plugin-core/src/import-protection/trace.ts:198
↓ 5 callers
Function
getAssetCrossOrigin
( assetCrossOrigin: AssetCrossOriginConfig | undefined, kind: 'script' | 'stylesheet', )
packages/router-core/src/manifest.ts:17
↓ 5 callers
Function
getConfig
(inlineConfig: Partial<Config>, root: string)
packages/router-plugin/src/core/config.ts:134
↓ 5 callers
Function
getDefaultSessionConfig
(config: SessionConfig)
packages/start-server-core/src/request-response.ts:355
↓ 5 callers
Function
getLookupKindsForEnv
( env: 'client' | 'server', opts?: { compilerTransforms?: Array<StartCompilerImportTransform> | undefi
packages/start-plugin-core/src/start-compiler/compiler.ts:174
↓ 5 callers
Function
getLookupSetup
( kind: LookupKind, externalLookupSetup?: Map<ExternalLookupKind, DirectCallSetup>, )
packages/start-plugin-core/src/start-compiler/compiler.ts:274
↓ 5 callers
Function
getOrCreateImportAnalysis
( result: TransformResult, )
packages/start-plugin-core/src/import-protection/analysis.ts:350
↓ 5 callers
Function
getOrCreateOriginalTransformResult
( result: TransformResult, importerFile?: string, root?: string, )
packages/start-plugin-core/src/import-protection/sourceLocation.ts:354
↓ 5 callers
Function
getPort
()
e2e/vue-router/basic-esbuild-file-based/src/esbuild.run.js:17
↓ 5 callers
Function
getRequiredLink
( container: ParentNode, testId: string, cache?: Map<string, HTMLAnchorElement>, )
benchmarks/client-nav/setup-helpers.ts:1
↓ 5 callers
Function
getScriptPreloadAttrs
( manifest: { scriptFormat?: ScriptFormat } | undefined, link: ManifestAssetLink, assetCrossOrigin?: Ass
packages/router-core/src/manifest.ts:38
↓ 5 callers
Function
handler
(builder)
packages/start-plugin-core/src/vite/plugins.ts:88
↓ 5 callers
Function
initConfigAndGenerator
(opts?: { root?: string })
packages/router-plugin/src/core/router-generator-plugin.ts:30
↓ 5 callers
Function
isDangerousProtocol
( url: string, allowlist: Set<string>, )
packages/router-core/src/utils.ts:594
↓ 5 callers
Function
isExternalLookupKind
(kind: Kind)
packages/start-plugin-core/src/start-compiler/compiler.ts:81
↓ 5 callers
Function
isInsideDirectory
( filePath: string, directory: string, )
packages/start-plugin-core/src/import-protection/utils.ts:147
↓ 5 callers
Function
joinPaths
(paths: Array<string | undefined>)
packages/router-core/src/path.ts:13
↓ 5 callers
Function
lazyRouteComponent
( importer: () => Promise<T>, exportName?: TKey, ssr?: () => boolean, )
packages/vue-router/src/lazyRouteComponent.tsx:23
↓ 5 callers
Function
load
()
packages/start-client-core/src/hydration/load.ts:14
↓ 5 callers
Function
loaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/react/kitchen-sink-react-query-file-based/src/utils/utils.tsx:1
↓ 5 callers
Function
loaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/react/kitchen-sink-react-query/src/utils.tsx:1
↓ 5 callers
Function
loaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/react/kitchen-sink/src/utils.tsx:1
↓ 5 callers
Function
loaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/react/kitchen-sink-file-based/src/utils/utils.tsx:1
↓ 5 callers
Function
loaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/solid/kitchen-sink-solid-query/src/utils.tsx:1
↓ 5 callers
Function
loaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/solid/kitchen-sink/src/utils.tsx:1
↓ 5 callers
Function
loaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/solid/kitchen-sink-file-based/src/utils/utils.tsx:1
↓ 5 callers
Function
loaderDelayFn
( fn: (...args: Array<any>) => Promise<T> | T, )
examples/solid/kitchen-sink-solid-query-file-based/src/utils/utils.tsx:1
↓ 5 callers
Function
makeTransientResult
( code: string, filename?: string, perf?: TransformResult['perf'], )
packages/start-plugin-core/src/import-protection/analysis.ts:34
↓ 5 callers
Function
nextAnimationFrame
()
benchmarks/memory/client/lifecycle.ts:37
↓ 5 callers
Method
notify
()
packages/react-start-rsc/src/ReplayableStream.ts:158
↓ 5 callers
Method
observe
()
packages/vue-router/tests/utils.ts:46
↓ 5 callers
Function
onChange
()
packages/start-client-core/src/hydration/media.ts:16
↓ 5 callers
Function
onSubmit
(e: React.FormEvent<HTMLFormElement>)
examples/react/kitchen-sink/src/main.tsx:769
← previous
next →
301–400 of 11,090, ranked by callers