MCPcopy Create free account

hub / github.com/TanStack/router / functions

Functions12,371 in github.com/TanStack/router

↓ 8 callersFunctiongetLookupKindsForEnv
( env: 'client' | 'server', opts?: { compilerTransforms?: Array<StartCompilerImportTransform> | undefi
packages/start-plugin-core/src/start-compiler/compiler.ts:179
↓ 8 callersFunctiongetModuleResource
(module: RspackModule)
packages/start-plugin-core/src/rsbuild/import-protection.ts:548
↓ 8 callersFunctiongetOrigin
(request: Request)
packages/router-core/src/ssr/ssr-server.ts:662
↓ 8 callersFunctiongetResponseHeader
( name: ResponseHeaderName, )
packages/start-server-core/src/internal-request-response.ts:1249
↓ 8 callersFunctiongetStartContext
(opts?: { throwIfNotFound?: TThrow })
packages/start-storage-context/src/async-local-storage.ts:52
↓ 8 callersFunctionhandler
(builder)
packages/start-plugin-core/src/vite/plugins.ts:104
↓ 8 callersFunctionimportedLoader
()
packages/router-plugin/tests/code-splitter/shared/imported.tsx:19
↓ 8 callersMethodinvalidateModule
(id: string)
packages/start-plugin-core/src/start-compiler/compiler.ts:899
↓ 8 callersFunctionisDangerousProtocol
( url: string, allowlist: Set<string>, )
packages/router-core/src/utils.ts:641
↓ 8 callersMethodobserve
()
packages/vue-router/tests/utils.ts:49
↓ 8 callersMethodonError
(cb: (error: any, task: () => Promise<any>) => void)
packages/start-plugin-core/src/queue.ts:100
↓ 8 callersFunctionp
(script)
packages/router-core/src/ssr/tsrScript.ts:16
↓ 8 callersFunctionparseHref
( href: string, state: ParsedHistoryState | undefined, )
packages/history/src/index.ts:739
↓ 8 callersFunctionrandomSegment
(random: () => number)
benchmarks/memory/server/bench-utils.ts:41
↓ 8 callersMethodrefresh
(notifyChange = true)
packages/router-core/src/ssr/hydrationScripts.ts:214
↓ 8 callersFunctionrelativizePath
(p: string, root: string)
packages/start-plugin-core/src/import-protection/utils.ts:110
↓ 8 callersFunctionresolvePath
( base: string, to: string, trailingSlash: 'always' | 'never' | 'preserve' = 'never', cache?: SieveCac
packages/router-core/src/path.ts:104
↓ 8 callersFunctionrunPerfSelectorComputation
(seed: number)
benchmarks/client-nav/react/app.tsx:14
↓ 8 callersFunctionrunPerfSelectorComputation
(seed: number)
benchmarks/client-nav/solid/app.tsx:15
↓ 8 callersFunctionsetRequestMiddlewareCount
(count: RequestMiddlewareCount)
benchmarks/ssr/scenarios/global-middleware/shared.ts:33
↓ 8 callersFunctionuseLinkProps
( options: UseLinkPropsOptions<TRouter, TFrom, TTo, TMaskFrom, TMaskTo>, forwardedRef?: React.ForwardedRef
packages/react-router/src/link.tsx:163
↓ 8 callersFunctionuseLoaderData
( opts: UseLoaderDataOptions<TRouter, TFrom, TStrict, TSelected>, )
packages/vue-router/src/useLoaderData.tsx:35
↓ 8 callersFunctionuseLoaderData
( opts: UseLoaderDataOptions<TRouter, TFrom, TStrict, TSelected>, )
packages/solid-router/src/useLoaderData.tsx:35
↓ 8 callersFunctionuseRouteContext
( opts: UseRouteContextOptions<TRouter, TFrom, TStrict, TSelected>, )
packages/vue-router/src/useRouteContext.ts:18
↓ 8 callersFunctionuseRouteContext
( opts: UseRouteContextOptions<TRouter, TFrom, TStrict, TSelected>, )
packages/react-router/src/useRouteContext.ts:17
↓ 8 callersFunctionuseServerFn
( serverFn: T, )
packages/vue-start/src/useServerFn.ts:3
↓ 8 callersFunctionwaitFor
( value: T | PromiseLike<T>, signal: AbortSignal, )
packages/router-core/src/load-client.ts:304
↓ 7 callersFunctionbuildDeclarationMap
(ast: t.File)
packages/router-utils/src/compiler-helpers.ts:574
↓ 7 callersFunctioncollectIdentifiersFromNode
(node: t.Node)
packages/router-utils/src/compiler-helpers.ts:385
↓ 7 callersFunctioncompileCode
( ...args: Parameters<typeof compileFor> )
packages/start-plugin-core/tests/regression-helpers.ts:103
↓ 7 callersFunctioncreateLazyFileRoute
(id: TFilePath)
packages/solid-router/src/fileRoute.ts:252
↓ 7 callersFunctioncreateLink
( Comp: Constrain<TComp, any, (props: CreateLinkProps) => Solid.JSX.Element>, )
packages/solid-router/src/link.tsx:649
↓ 7 callersFunctioncreateServerRpc
( serverFnMeta: ServerFnMeta, splitImportFn: (...args: any) => any, )
packages/start-server-core/src/createServerRpc.ts:4
↓ 7 callersFunctioncreateSsrRpc
(functionId: string)
packages/start-server-core/src/createSsrRpc.ts:5
↓ 7 callersFunctiondeclarationOf
(name: string)
packages/router-plugin/tests/validate-module.ts:36
↓ 7 callersFunctiondehydrateToBootstrap
( router: AnyRouter, manifest: ServerManifest, )
packages/router-core/tests/routerTestUtils.ts:188
↓ 7 callersFunctiondetectKindsInCode
( code: string, env: 'client' | 'server', opts?: { compilerTransforms?: Array<StartCompilerImportTra
packages/start-plugin-core/src/start-compiler/compiler.ts:233
↓ 7 callersFunctiondispose
(reason?: unknown)
packages/router-core/src/ssr/handlerCallback.ts:90
↓ 7 callersFunctiondisposeSsrResponse
( result: HandlerCallbackResult, reason?: unknown, )
packages/router-core/src/ssr/handlerCallback.ts:59
↓ 7 callersFunctionencode
(text: string)
e2e/react-start/basic/src/raw-stream-fns.ts:36
↓ 7 callersFunctionencode
(text: string)
e2e/vue-start/basic/src/raw-stream-fns.ts:36
↓ 7 callersFunctionencode
(text: string)
e2e/solid-start/basic/src/raw-stream-fns.ts:36
↓ 7 callersFunctionfetchPosts
()
examples/react/basic/src/posts.ts:11
↓ 7 callersFunctiongetLocationChangeInfo
( location: ParsedLocation, resolvedLocation?: ParsedLocation, )
packages/router-core/src/router.ts:950
↓ 7 callersFunctiongetModuleErrors
( code: string, filename = 'module.tsx', )
packages/start-plugin-core/tests/validate-module.ts:14
↓ 7 callersFunctiongetProtectedResponseHeaders
( response: Response, )
packages/start-server-core/src/internal-request-response.ts:107
↓ 7 callersFunctiongetRequestHeader
(name: RequestHeaderName)
packages/start-server-core/src/internal-request-response.ts:1015
↓ 7 callersFunctiongetRequestUrl
(opts?: { xForwardedHost?: boolean xForwardedProto?: boolean })
packages/start-server-core/src/internal-request-response.ts:1070
↓ 7 callersFunctiongetRoute
(router: AnyRouter, match: AnyRouteMatch)
packages/router-core/src/load-server.ts:82
↓ 7 callersFunctiongetSecret
()
e2e/react-start/import-protection/src/violations/secret.server.ts:7
↓ 7 callersFunctionh
()
packages/router-core/src/ssr/tsrScript.ts:2
↓ 7 callersFunctionhandler
(...middleware: Array<AnyRequestMiddleware>)
packages/start-server-core/tests/header-contracts.test.ts:38
↓ 7 callersFunctionhydrate
()
packages/start-client-core/tests/hydration-runtime.test.ts:10
↓ 7 callersFunctionimportSources
(code: string)
packages/start-plugin-core/tests/regression-helpers.ts:142
↓ 7 callersFunctionimportedNames
(code: string, source: string)
packages/router-plugin/tests/regression-helpers.ts:133
↓ 7 callersMethodinit
()
packages/start-plugin-core/src/start-compiler/compiler.ts:791
↓ 7 callersFunctioninvariant
(value: unknown, message?: string)
examples/react/start-trellaux/src/invariant.ts:1
↓ 7 callersFunctionisPromise
( value: Promise<Awaited<T>> | T, )
packages/router-core/src/utils.ts:519
↓ 7 callersFunctionloadRouteChunk
( route: AnyRoute, // `false` waits only for lazy route options, before a boundary is selected. componen
packages/router-core/src/load-client.ts:68
↓ 7 callersFunctionmakeDeferred
(value: T, delayMs: number)
e2e/streaming-ssr-fixtures/index.ts:260
↓ 7 callersFunctionmakeFolderDir
(folder: string)
packages/router-generator/tests/generator.test.ts:16
↓ 7 callersFunctionnever
()
packages/start-client-core/src/hydration/never.ts:11
↓ 7 callersFunctionnormalizeSsrResponse
( result: HandlerCallbackResult, )
packages/router-core/src/ssr/handlerCallback.ts:38
↓ 7 callersFunctionparse
()
packages/router-core/tests/rewrite.test.ts:352
↓ 7 callersFunctionparseArgs
(argv)
scripts/benchmarks/bundle-size/measure.mjs:156
↓ 7 callersFunctionremoveExt
(d: string, addExtensions: boolean | string = false)
packages/router-generator/src/utils.ts:762
↓ 7 callersFunctionrenderInNonRouteComponentContext
( render: () => Solid.JSX.Element, component: NonRouteComponent, )
packages/solid-router/src/nonRouteComponentContext.tsx:13
↓ 7 callersFunctionresolveManifestCssLink
(link: ManifestCssLink)
packages/router-core/src/manifest.ts:192
↓ 7 callersFunctionrouteId
()
packages/solid-router/src/Matches.tsx:79
↓ 7 callersMethodsetTimeout
(callback: (...args: any[]) => void, msDelay?: number)
e2e/solid-start/basic-cloudflare/worker-configuration.d.ts:297
↓ 7 callersMethodstop
()
packages/start-plugin-core/src/queue.ts:114
↓ 7 callersFunctionuseCanGoBack
()
packages/vue-router/src/useCanGoBack.ts:4
↓ 7 callersFunctionuseMatchRoute
()
packages/solid-router/src/Matches.tsx:130
↓ 7 callersFunctionuseMatches
( opts?: UseMatchesBaseOptions<TRouter, TSelected>, )
packages/solid-router/src/Matches.tsx:209
↓ 6 callersFunction_getAssetMatches
( matches: Array<AnyRouteMatch>, )
packages/router-core/src/load-client.ts:142
↓ 6 callersFunctionappFiles
(files: Record<string, string> = {})
packages/start-plugin-core/tests/integration/start-app.ts:47
↓ 6 callersFunctionassertAssetsScenario
(handler: StartRequestHandler)
benchmarks/ssr/scenarios/assets/shared.ts:59
↓ 6 callersFunctionassertRewriteScenario
(handler: StartRequestHandler)
benchmarks/ssr/scenarios/rewrites/shared.ts:57
↓ 6 callersFunctionassertSerializationScenario
( handler: StartRequestHandler, )
benchmarks/ssr/scenarios/serialization/shared-bench.ts:63
↓ 6 callersFunctionbaseResponse
(scenario: string)
e2e/react-start/response-reconciliation/src/routes/api/-response.ts:13
↓ 6 callersFunctionbuild
()
packages/router-core/tests/path-decoder.test.ts:35
↓ 6 callersFunctionclearResponseHeaders
( headerNames?: Array<ResponseHeaderName>, )
packages/start-server-core/src/internal-request-response.ts:1355
↓ 6 callersFunctioncompile
(code: string, id = moduleId)
packages/start-plugin-core/tests/regression-helpers.ts:70
↓ 6 callersFunctioncompileCodeSplitReferenceRoute
( opts: ParseAstOptions & CompileCodeSplitReferenceRouteOptions & { isProduction?: boolean c
packages/router-plugin/src/core/code-splitter/compilers.ts:364
↓ 6 callersFunctioncompileFor
( output: Output, code: string, options: Omit<StartCompilerOptions, 'env'> & { id?: string } = {}, )
packages/start-plugin-core/tests/regression-helpers.ts:85
↓ 6 callersFunctioncreateBenchContainer
()
benchmarks/memory/client/lifecycle.ts:26
↓ 6 callersFunctioncreateDelayedStream
( chunks: Array<Uint8Array>, delayMs: number, )
e2e/react-start/basic/src/raw-stream-fns.ts:4
↓ 6 callersFunctioncreateDelayedStream
( chunks: Array<Uint8Array>, delayMs: number, )
e2e/vue-start/basic/src/raw-stream-fns.ts:4
↓ 6 callersFunctioncreateDelayedStream
( chunks: Array<Uint8Array>, delayMs: number, )
e2e/solid-start/basic/src/raw-stream-fns.ts:4
↓ 6 callersFunctioncreateDeterministicRandom
(seed: number)
benchmarks/ssr/bench-utils.ts:25
↓ 6 callersFunctioncreateHydrationScripts
( nonce: string | undefined, initialSources?: ReadonlyArray<string>, )
packages/router-core/src/ssr/hydrationScripts.ts:684
↓ 6 callersFunctioncreateRouterGeneratorPlugin
( options: Partial<Config | (() => Config)> | undefined = {}, routerPluginContext: RouterPluginContext, )
packages/router-plugin/src/core/router-generator-plugin.ts:14
↓ 6 callersFunctioncreateSieveCache
( max: number, )
packages/router-core/src/sieve-cache.ts:19
↓ 6 callersFunctioncreateStartApp
( files: Record<string, string>, prefix = 'start-app-', )
packages/start-plugin-core/tests/integration/start-app.ts:68
↓ 6 callersFunctiondecodePath
(path: string)
packages/router-core/src/utils.ts:682
↓ 6 callersMethoddisableHydration
* Opt this request out of hydration output entirely (for example a * `hydrate: false` page). Drops the queued bootstrap sources, marks the * pro
packages/router-core/src/ssr/hydrationScripts.ts:575
↓ 6 callersFunctiondispose
()
benchmarks/client-nav/scenarios/harness.ts:255
↓ 6 callersFunctionencodeFrame
* Helper to encode a frame for testing
packages/start-client-core/tests/frame-decoder.test.ts:37
↓ 6 callersFunctionescapeHtml
(str: string)
packages/router-core/src/utils.ts:676
↓ 6 callersFunctionexecuteRewriteInput
( rewrite: LocationRewrite | undefined, url: URL, )
packages/router-core/src/rewrite.ts:68
← previousnext →301–400 of 12,371, ranked by callers