Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/router
/ functions
Functions
11,895 in github.com/TanStack/router
⨍
Functions
11,895
◇
Types & classes
6,527
↓ 2 callers
Function
useMutation
(opts: { fn: (variables: TVariables) => Promise<TData> onSuccess?: (ctx: { data: TData }) => void | Promis
examples/solid/start-basic-auth/src/hooks/useMutation.ts:3
↓ 2 callers
Function
useMutation
(opts: { fn: (variables: TVariables) => Promise<TData> onSuccess?: (ctx: { data: TData }) => void | Promis
examples/solid/start-supabase-basic/src/hooks/useMutation.ts:3
↓ 2 callers
Function
useMutation
(opts: { fn: (variables: TVariables) => Promise<TData> onSuccess?: (ctx: { data: TData }) => void | Promis
examples/solid/kitchen-sink/src/useMutation.tsx:3
↓ 2 callers
Function
useMutation
(opts: { fn: (variables: TVariables) => Promise<TData> onSuccess?: (ctx: { data: TData }) => void | Promis
e2e/react-start/basic-auth/src/hooks/useMutation.ts:3
↓ 2 callers
Function
useMutation
(opts: { fn: (variables: TVariables) => Promise<TData> onSuccess?: (ctx: { data: TData }) => void | Promis
e2e/vue-start/basic-auth/src/hooks/useMutation.ts:3
↓ 2 callers
Function
useMutation
(opts: { fn: (variables: TVariables) => Promise<TData> onSuccess?: (ctx: { data: TData }) => void | Promis
e2e/solid-start/basic-auth/src/hooks/useMutation.ts:3
↓ 2 callers
Function
usePageTitle
()
packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/shared-referencing-route@component---loader---notFoundComponent---pendingComponent.tsx:2
↓ 2 callers
Function
useParentMatches
( opts?: UseMatchesBaseOptions<TRouter, TSelected>, )
packages/vue-router/src/Matches.tsx:286
↓ 2 callers
Function
useParentMatches
( opts?: UseMatchesBaseOptions<TRouter, TSelected>, )
packages/solid-router/src/Matches.tsx:226
↓ 2 callers
Function
useParentMatches
( opts?: UseMatchesBaseOptions<TRouter, TSelected, TStructuralSharing> & StructuralSharingOption<TRouter
packages/react-router/src/Matches.tsx:292
↓ 2 callers
Function
useScrollRestoration
()
packages/vue-router/src/ScrollRestoration.tsx:12
↓ 2 callers
Function
useScrollRestoration
()
packages/solid-router/src/ScrollRestoration.tsx:12
↓ 2 callers
Function
useScrollRestoration
()
packages/react-router/src/ScrollRestoration.tsx:12
↓ 2 callers
Function
useSlotContext
()
packages/react-start-rsc/src/SlotContext.tsx:16
↓ 2 callers
Function
useStyles
()
packages/router-devtools-core/src/Explorer.tsx:485
↓ 2 callers
Function
useTransitionerSetup
()
packages/vue-router/src/Transitioner.tsx:7
↓ 2 callers
Function
useUpdateCardMutation
()
examples/react/start-convex-trellaux/src/queries.ts:56
↓ 2 callers
Function
useUpdateCardMutation
()
examples/react/start-trellaux/src/queries.ts:76
↓ 2 callers
Function
userQueryOptions
(id: string)
examples/react/start-basic-react-query/src/utils/users.tsx:24
↓ 2 callers
Function
userQueryOptions
(userId: number)
examples/react/kitchen-sink-react-query-file-based/src/utils/queryOptions.ts:34
↓ 2 callers
Function
userQueryOptions
(userId: number)
examples/react/kitchen-sink-react-query/src/main.tsx:74
↓ 2 callers
Function
userQueryOptions
(id: string)
examples/solid/start-basic-solid-query/src/utils/users.tsx:24
↓ 2 callers
Function
userQueryOptions
(userId: number)
examples/solid/kitchen-sink-solid-query/src/main.tsx:74
↓ 2 callers
Function
userQueryOptions
(userId: number)
examples/solid/kitchen-sink-solid-query-file-based/src/utils/queryOptions.ts:33
↓ 2 callers
Function
userQueryOptions
(id: string)
e2e/react-start/basic-react-query/src/utils/users.tsx:28
↓ 2 callers
Function
userQueryOptions
(id: string)
e2e/vue-start/basic-vue-query/src/utils/users.tsx:28
↓ 2 callers
Function
userQueryOptions
(id: string)
e2e/solid-start/basic-solid-query/src/utils/users.tsx:28
↓ 2 callers
Function
usersQueryOptions
()
examples/react/start-basic-react-query/src/utils/users.tsx:12
↓ 2 callers
Function
usersQueryOptions
(opts: { filterBy?: string sortBy?: 'name' | 'id' | 'email' })
examples/react/kitchen-sink-react-query-file-based/src/utils/queryOptions.ts:25
↓ 2 callers
Function
usersQueryOptions
({ filterBy, sortBy, }: { filterBy?: string sortBy?: UsersViewSortBy })
examples/react/kitchen-sink-react-query/src/main.tsx:58
↓ 2 callers
Function
usersQueryOptions
()
examples/solid/start-basic-solid-query/src/utils/users.tsx:12
↓ 2 callers
Function
usersQueryOptions
({ filterBy, sortBy, }: { filterBy?: string sortBy?: UsersViewSortBy })
examples/solid/kitchen-sink-solid-query/src/main.tsx:58
↓ 2 callers
Function
usersQueryOptions
(opts: { filterBy?: string sortBy?: 'name' | 'id' | 'email' })
examples/solid/kitchen-sink-solid-query-file-based/src/utils/queryOptions.ts:24
↓ 2 callers
Function
usersQueryOptions
()
e2e/react-start/basic-react-query/src/utils/users.tsx:16
↓ 2 callers
Function
usersQueryOptions
()
e2e/vue-start/basic-vue-query/src/utils/users.tsx:16
↓ 2 callers
Function
usersQueryOptions
()
e2e/solid-start/basic-solid-query/src/utils/users.tsx:16
↓ 2 callers
Function
valibotValidator
( options: TOptions, )
packages/valibot-adapter/src/index.ts:8
↓ 2 callers
Function
validate
(input: unknown)
benchmarks/ssr/scenarios/server-fns/vue/src/fns.ts:36
↓ 2 callers
Function
validateAndNormalizePrerenderPages
( pages: Array<Page>, routerBaseUrl: URL, )
packages/start-plugin-core/src/prerender.ts:335
↓ 2 callers
Function
validateDocumentResponse
(response: Response, request: Request)
benchmarks/memory/server/scenarios/aborted-requests/shared.ts:43
↓ 2 callers
Function
validateSearchParams
(expected: TExpected, router: AnyRouter)
packages/vue-router/tests/router.test.tsx:41
↓ 2 callers
Function
validateSearchParams
(expected: TExpected, router: AnyRouter)
packages/solid-router/tests/router.test.tsx:40
↓ 2 callers
Function
validateSearchParams
(expected: TExpected, router: AnyRouter)
packages/react-router/tests/router.test.tsx:71
↓ 2 callers
Function
validateStatus
(response: Response, request: Request)
benchmarks/ssr/scenarios/server-fn-transport/bench.ts:423
↓ 2 callers
Function
virtualPath
* VirtualModulesPlugin resolves module paths relative to compiler.context. * Prefix them under the app root so they are unique and watcher-friendly.
packages/start-plugin-core/src/rsbuild/virtual-modules.ts:36
↓ 2 callers
Function
visit
( route: TRouteLike, start: number, parentNode: AnySegmentNode<TRouteLike>, parentInterpolatio
packages/router-core/src/new-process-route-tree.ts:489
↓ 2 callers
Function
visit
(node: t.Node)
packages/start-plugin-core/src/import-protection/analysis.ts:213
↓ 2 callers
Function
visitIdentifiers
(node, onIdentifier)
scripts/ts-symbol-references.mjs:195
↓ 2 callers
Function
visitNode
* Shared visitor logic that collects violations into the provided array
packages/eslint-plugin-start/src/rules/no-client-code-in-server-component/violation-detector.ts:110
↓ 2 callers
Function
waitForHydration
(page: Page)
e2e/vue-start/basic-auth/tests/app.spec.ts:4
↓ 2 callers
Function
waitForHydration
(page: Page)
e2e/solid-start/basic-auth/tests/app.spec.ts:4
↓ 2 callers
Function
waitForOutput
( getLogText: () => string, expectedViolation?: ViolationExpectation, )
e2e/react-start/import-protection/tests/violations.setup.ts:142
↓ 2 callers
Function
waitForRetry
( devServer: DevServer, description: string, action: () => Promise<T>, )
e2e/react-start/server-functions/tests/rsbuild-cache.spec.ts:223
↓ 2 callers
Function
waitForRouterIdle
(page: Page)
e2e/react-start/basic/tests/redirect.spec.ts:15
↓ 2 callers
Function
waitForRouterIdle
(page: Page)
e2e/vue-start/basic/tests/redirect.spec.ts:14
↓ 2 callers
Function
waitForRouterIdle
(page: Page)
e2e/solid-start/basic/tests/redirect.spec.ts:14
↓ 2 callers
Function
wake
()
packages/start-client-core/src/client-rpc/frame-decoder.ts:33
↓ 2 callers
Function
wakeAdmission
()
packages/start-server-core/src/frame-protocol.ts:118
↓ 2 callers
Function
walkIdentifierNode
( current: t.Node | null | undefined, parent: t.Node | undefined, grandparent: t.Node | undefined, par
packages/router-utils/src/compiler-helpers.ts:238
↓ 2 callers
Function
warnAboutDevMode
(frameworkLabel: string)
benchmarks/client-nav/scenarios/harness.ts:300
↓ 2 callers
Function
warnUnlessHtmlRoot
(html: string)
packages/vue-router/src/ssr/renderRouterToStream.tsx:17
↓ 2 callers
Function
when
()
packages/react-start-client/src/tests/Hydrate.test.tsx:447
↓ 2 callers
Function
withWebpackHmrStyle
* Webpack uses `module.hot` / `import.meta.webpackHot` HMR. Force * `plugin.hmr.style = 'webpack'` so the router HMR adapter emits the correct * acc
packages/router-plugin/src/webpack.ts:18
↓ 2 callers
Function
withWebpackHmrStyle
* Rspack uses webpack-compatible `module.hot` / `import.meta.webpackHot` HMR. * Force `plugin.hmr.style = 'webpack'` so the router HMR adapter emits
packages/router-plugin/src/rspack.ts:21
↓ 2 callers
Function
withWindowRouter
(router: RouterCore<any, any, any, any, any>)
packages/router-plugin/tests/handle-route-update.test.ts:111
↓ 2 callers
Function
withoutKnownExtension
(id: string)
packages/start-plugin-core/src/import-protection/utils.ts:137
↓ 2 callers
Function
writeCurrent
@param {string} filePath
scripts/benchmarks/bundle-size/run.test.mjs:14
↓ 1 callers
Function
CatchBoundary
(props: CatchBoundaryProps)
packages/vue-router/src/CatchBoundary.tsx:75
↓ 1 callers
Function
DummyPostResource
(postId: string)
packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/using@component---loader---notFoundComponent---pendingComponent.tsx:1
↓ 1 callers
Function
DummyPostResource
(postId: string)
packages/router-plugin/tests/code-splitter/snapshots/react/1-default/using.tsx:1
↓ 1 callers
Function
DummyPostResource
(postId: string)
packages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/using@loader.tsx:1
↓ 1 callers
Function
DummyPostResource
(postId: string)
packages/router-plugin/tests/code-splitter/test-files/react/using.tsx:1
↓ 1 callers
Function
TanStackRouterCodeSplitterRspack
( options?: RspackRouterPluginOptions, routerPluginContext?: RouterPluginContext, )
packages/router-plugin/src/rspack.ts:83
↓ 1 callers
Function
TanStackRouterGeneratorRspack
( options?: RspackRouterPluginOptions, routerPluginContext?: RouterPluginContext, )
packages/router-plugin/src/rspack.ts:57
↓ 1 callers
Function
_notFoundRouteIds
(router: { state: { matches: Array<{ routeId: string; _notFound?: boolean }> } })
packages/router-core/tests/issue-6351-fuzzy-notfound-layout.test.ts:63
↓ 1 callers
Function
_resolveBlockerOpts
( opts?: UseBlockerOpts | LegacyBlockerOpts | LegacyBlockerFn, condition?: boolean | any, )
packages/vue-router/src/useBlocker.tsx:84
↓ 1 callers
Function
_resolveBlockerOpts
( opts?: UseBlockerOpts | LegacyBlockerOpts | LegacyBlockerFn, condition?: boolean | any, )
packages/solid-router/src/useBlocker.tsx:85
↓ 1 callers
Function
_resolveBlockerOpts
( opts?: UseBlockerOpts | LegacyBlockerOpts | LegacyBlockerFn, condition?: boolean | any, )
packages/react-router/src/useBlocker.tsx:86
↓ 1 callers
Function
_resolvePromptBlockerArgs
( props: PromptProps | LegacyPromptProps, )
packages/solid-router/src/useBlocker.tsx:270
↓ 1 callers
Function
_resolvePromptBlockerArgs
( props: PromptProps | LegacyPromptProps, )
packages/react-router/src/useBlocker.tsx:266
↓ 1 callers
Function
abort
()
packages/router-core/src/ssr/handlerCallback.ts:95
↓ 1 callers
Function
abortAwareGate
(signal: AbortSignal)
packages/router-core/tests/client-lane-adversarial.test.ts:16
↓ 1 callers
Function
abortLane
()
packages/router-core/src/load-server.ts:699
↓ 1 callers
Function
abortPipeable
(reason?: unknown)
packages/react-router/src/ssr/renderRouterToStream.tsx:81
↓ 1 callers
Function
abortRecordStream
(error: unknown)
packages/start-server-core/src/server-functions-handler.ts:379
↓ 1 callers
Function
addCleanup
(fn: void | (() => void))
packages/react-start-client/src/GenericHydrate.tsx:256
↓ 1 callers
Function
addCleanup
(fn: void | (() => void))
packages/solid-start-client/src/GenericHydrate.tsx:255
↓ 1 callers
Function
addCrawlPageTask
(page: Page)
packages/start-plugin-core/src/prerender.ts:113
↓ 1 callers
Function
addDeclarationModuleInfo
( declaration: t.Declaration, bindings: Map<string, ModuleInfoBinding>, exportMap?: Map<string, string>,
packages/router-utils/src/compiler-helpers.ts:105
↓ 1 callers
Function
addEarlyHintFetchAttrs
( hint: EarlyHint, attrs: Record<string, any> | undefined, )
packages/start-server-core/src/early-hints.ts:112
↓ 1 callers
Function
addEntryModulesToGraph
(opts: { compilation: RspackCompilation importGraph: ImportGraph })
packages/start-plugin-core/src/rsbuild/import-protection.ts:731
↓ 1 callers
Function
addExpected
(value: string)
packages/router-core/benchmarks/ssr-streaming/worker.ts:1906
↓ 1 callers
Function
addIdentifierBlockBindings
( body: Array<t.Node>, scopes: IdentifierScopeStack, )
packages/router-utils/src/compiler-helpers.ts:203
↓ 1 callers
Function
addImporterRelativeSourceCandidates
( candidates: Set<string>, importer: string, resolved: string | undefined, )
packages/start-plugin-core/src/vite/import-protection-plugin/plugin.ts:563
↓ 1 callers
Function
addItemToCache
({ functionId, data, response, }: { functionId: string data: any response: StaticCachedResult })
packages/start-static-server-functions/src/staticFunctionMiddleware.ts:74
↓ 1 callers
Function
addMemberBinding
(localName: string, source: string)
packages/start-plugin-core/src/import-protection/analysis.ts:201
↓ 1 callers
Function
addMockName
(source: string, name: string)
packages/start-plugin-core/src/import-protection/analysis.ts:196
↓ 1 callers
Function
addNamedExport
(name: string)
packages/start-plugin-core/src/import-protection/analysis.ts:207
↓ 1 callers
Function
addRendererRecords
(record: string, records: number)
packages/router-core/benchmarks/ssr-streaming/worker.ts:403
↓ 1 callers
Function
addRouteHmr
( insertionPath: babel.NodePath, routeOptions: t.ObjectExpression,
packages/router-plugin/src/core/code-splitter/compilers.ts:430
← previous
next →
1,801–1,900 of 11,895, ranked by callers