MCPcopy Create free account

hub / github.com/TanStack/router / functions

Functions10,449 in github.com/TanStack/router

↓ 24 callersFunctionretainSearchParams
( keys: Array<keyof TSearchSchema> | true, )
packages/router-core/src/searchMiddleware.ts:25
↓ 24 callersFunctionuseSearch
( opts: UseSearchOptions< TRouter, TFrom, TStrict, ThrowConstraint<TStrict, TThrow>, TSe
packages/react-router/src/useSearch.tsx:76
↓ 23 callersMethodabort
()
e2e/solid-start/basic-cloudflare/worker-configuration.d.ts:1951
↓ 23 callersFunctioncleanup
()
packages/solid-start-client/src/GenericHydrate.tsx:250
↓ 23 callersFunctionnext
(nextCtx?: TODO)
packages/start-server-core/src/createStartHandler.ts:279
↓ 23 callersFunctionuseRouterState
( opts?: UseRouterStateOptions<TRouter, TSelected, TStructuralSharing>, )
packages/react-router/src/useRouterState.tsx:45
↓ 22 callersFunctioncleanup
()
packages/router-core/src/ssr/ssr-server.ts:701
↓ 22 callersFunctioncreateLazyFileRoute
(id: TFilePath)
packages/react-router/src/fileRoute.ts:297
↓ 22 callersFunctionfetch
(req: Request)
examples/react/start-i18n-paraglide/src/server.ts:5
↓ 22 callersFunctiongetRequest
()
packages/start-server-core/src/request-response.ts:155
↓ 21 callersFunctionlayout
( idOrFile: string, fileOrChildren: string | Array<VirtualRouteNode>, children?: Array<VirtualRouteNode>
packages/virtual-file-routes/src/api.ts:38
↓ 21 callersMethodlisten
(...args: unknown[])
e2e/solid-start/basic-cloudflare/worker-configuration.d.ts:10344
↓ 21 callersFunctionrunServerFlameBenchmark
( workloadGroup: ServerMemoryWorkloadGroup, )
benchmarks/memory/server/flame-runner.ts:4
↓ 21 callersMethodunmount
()
packages/router-devtools-core/src/TanStackRouterDevtoolsCore.tsx:128
↓ 20 callersMethodcancel
* The **`cancel()`** method of the ReadableStream interface returns a Promise that resolves when the stream is canceled. * * [MDN Reference]
e2e/solid-start/basic-cloudflare/worker-configuration.d.ts:2147
↓ 20 callersFunctioncreateTestRouter
( options: RouterConstructorOptions< TRouteTree, TTrailingSlashOption, TDefaultStructuralSharing
packages/router-core/tests/routerTestUtils.ts:32
↓ 20 callersFunctiongetRouteApi
(id: ConstrainLiteral<TId, RouteIds<TRouter['routeTree']>>)
packages/react-router/src/route.tsx:91
↓ 20 callersFunctionisRedirect
(obj: any)
packages/router-core/src/redirect.ts:159
↓ 20 callersFunctionmakeLevelData
(source: string, page: number)
benchmarks/ssr/scenarios/loaders/shared-data.ts:32
↓ 20 callersFunctionuseParams
( opts: UseParamsOptions< TRouter, TFrom, TStrict, ThrowConstraint<TStrict, TThrow>, TSe
packages/vue-router/src/useParams.tsx:46
↓ 20 callersFunctionuseParams
( opts: UseParamsOptions< TRouter, TFrom, TStrict, ThrowConstraint<TStrict, TThrow>, TSe
packages/solid-router/src/useParams.tsx:46
↓ 20 callersFunctionuseSearch
( opts: UseSearchOptions< TRouter, TFrom, TStrict, ThrowConstraint<TStrict, TThrow>, TSe
packages/solid-router/src/useSearch.tsx:46
↓ 19 callersFunctiongetEnv
Get (or lazily create) the per-env state for the given environment name.
packages/start-plugin-core/src/vite/import-protection-plugin/plugin.ts:668
↓ 19 callersFunctionisNotFound
(obj: any)
packages/router-core/src/not-found.ts:39
↓ 19 callersMethodremove
()
e2e/solid-start/basic-cloudflare/worker-configuration.d.ts:1532
↓ 19 callersFunctionrender
({ req, res, head, }: { head: string req: express.Request res: express.Response })
examples/react/basic-ssr-file-based/src/entry-server.tsx:11
↓ 18 callersMethodbuildRouteTree
(opts: { rootRouteNode: RouteNode acc: HandleNodeAccumulator routeFileResult: Array<RouteNode>
packages/router-generator/src/generator.ts:603
↓ 18 callersFunctioncleanId
(id: string)
packages/start-plugin-core/src/start-compiler/utils.ts:28
↓ 18 callersFunctioncount
(name, value = 1)
packages/start-plugin-core/src/rsbuild/import-protection.ts:128
↓ 18 callersMethodcount
* The **`console.count()`** static method logs the number of times that this particular call to `count()` has been called. * * [MDN Referenc
e2e/solid-start/basic-cloudflare/worker-configuration.d.ts:117
↓ 18 callersFunctionidle
( options: IdleHydrationOptions = {}, )
packages/start-client-core/src/hydration/idle.ts:9
↓ 18 callersFunctionlinkOptions
(options)
packages/react-router/src/link.tsx:973
↓ 18 callersFunctionrunClientFlameBenchmark
(workload: ClientMemoryWorkload)
benchmarks/memory/client/flame-runner.ts:5
↓ 18 callersFunctionuseRouterState
( opts?: UseRouterStateOptions<TRouter, TSelected>, )
packages/solid-router/src/useRouterState.tsx:22
↓ 17 callersFunctionnext
()
benchmarks/client-nav/vue/setup.ts:21
↓ 17 callersFunctionuseHydrated
()
packages/react-router/src/ClientOnly.tsx:60
↓ 16 callersMethodcleanup
()
packages/router-core/src/ssr/ssr-server.ts:158
↓ 16 callersFunctioncreateStart
( getOptions: () => | Promise< Omit< StartInstanceOptions< TSerializationA
packages/start-client-core/src/createStart.ts:103
↓ 16 callersFunctionnormalizePath
(id: string)
packages/start-plugin-core/src/utils.ts:39
↓ 16 callersFunctionuseMutation
(opts: { fn: (variables: TVariables) => Promise<TData> onSuccess?: (ctx: { data: TData }) => void | Promis
examples/react/start-basic-auth/src/hooks/useMutation.ts:3
↓ 15 callersFunctionfn
()
packages/start-plugin-core/tests/createIsomorphicFn/snapshots/client/createIsomorphicFnInline.tsx:3
↓ 15 callersMethodrun
(event?: GeneratorEvent)
packages/router-generator/src/generator.ts:306
↓ 15 callersFunctionuseLocation
( opts?: UseLocationBaseOptions<TRouter, TSelected>, )
packages/vue-router/src/useLocation.tsx:21
↓ 14 callersFunctiondeepEqual
( a: any, b: any, opts?: { partial?: boolean; ignoreUndefined?: boolean }, )
packages/router-core/src/utils.ts:366
↓ 14 callersMethodfinally
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callbac
e2e/solid-start/basic-auth/src/prisma-generated/models/User.ts:895
↓ 14 callersFunctiongetRequestHeaders
()
packages/start-server-core/src/request-response.ts:160
↓ 14 callersFunctionhandler
(code)
packages/router-core/vite-minify-plugin.ts:10
↓ 14 callersFunctionmedia
( query: string, )
packages/start-client-core/src/hydration/media.ts:6
↓ 14 callersFunctionrenderToReadableStream
( _node: React.ReactNode, )
packages/react-start-rsc/src/flight.stub.ts:8
↓ 14 callersFunctiontanstackStart
( options?: TanStackStartRsbuildInputConfig, )
packages/vue-start/src/plugin/rsbuild.ts:12
↓ 14 callersFunctionuseMatch
( opts: UseMatchOptions< TRouter, TFrom, TStrict, ThrowConstraint<TStrict, TThrow>, TSel
packages/react-router/src/useMatch.tsx:132
↓ 14 callersFunctionuseServerFn
( serverFn: T, )
packages/react-start/src/useServerFn.ts:4
↓ 13 callersMethodappend
(content: string | ReadableStream | Response, options?: ContentOptions)
e2e/solid-start/basic-cloudflare/worker-configuration.d.ts:1504
↓ 13 callersFunctionconsumeStream
()
e2e/react-start/rsc/src/routes/rsc-stream-loader.tsx:51
↓ 13 callersFunctioncreateSerializationAdapter
( opts: CreateSerializationAdapterOptions<TInput, TOutput, TExtendsAdapters>, )
packages/router-core/src/ssr/serializer/transformer.ts:44
↓ 13 callersFunctioncreateServerOnlyFn
(fn)
packages/start-fn-stubs/src/envOnly.ts:5
↓ 13 callersFunctionfetchPost
(postId: string)
examples/solid/basic/src/posts.ts:19
↓ 13 callersFunctiongetRouteApi
(id: ConstrainLiteral<TId, RouteIds<TRouter['routeTree']>>)
packages/solid-router/src/route.tsx:82
↓ 13 callersFunctioninvariant
()
packages/router-core/src/invariant.ts:1
↓ 13 callersFunctionuseBlocker
( opts?: UseBlockerOpts | LegacyBlockerOpts | LegacyBlockerFn, condition?: boolean | any, )
packages/vue-router/src/useBlocker.tsx:153
↓ 13 callersFunctionuseMatch
( opts: UseMatchOptions< TRouter, TFrom, TStrict, ThrowConstraint<TStrict, TThrow>, TSel
packages/vue-router/src/useMatch.tsx:61
↓ 13 callersFunctionuseMatch
( opts: UseMatchOptions< TRouter, TFrom, TStrict, ThrowConstraint<TStrict, TThrow>, TSel
packages/solid-router/src/useMatch.tsx:55
↓ 13 callersFunctionuser
()
e2e/solid-start/basic-solid-query/src/routes/users.$userId.tsx:26
↓ 13 callersFunctionwithHydrationRenderer
( strategy: TStrategy, renderer: TRenderer, )
packages/start-client-core/src/hydration/renderer.ts:11
↓ 12 callersFunctioncollectIdentifiersFromPattern
( node: t.LVal | t.Node | null | undefined, )
packages/router-utils/src/compiler-helpers.ts:398
↓ 12 callersFunctiondefer
( _promise: Promise<T>, options?: { serializeError?: typeof defaultSerializeError }, )
packages/router-core/src/defer.ts:42
↓ 12 callersFunctiondefineHandlerCallback
( handler: HandlerCallback<TRouter>, )
packages/router-core/src/ssr/handlerCallback.ts:94
↓ 12 callersFunctionfetch
(request: Request)
e2e/react-start/basic/src/server.ts:8
↓ 12 callersFunctionfetch
(request: Request)
e2e/vue-start/basic/src/server.ts:8
↓ 12 callersMethodfindUnique
* Find zero or one User that matches the filter. * @param {UserFindUniqueArgs} args - Arguments to find a User * @example * // Get one User
e2e/solid-start/basic-auth/src/prisma-generated/models/User.ts:349
↓ 12 callersFunctionlinkOptions
(options)
packages/solid-router/src/link.tsx:716
↓ 12 callersMethodonSuccess
(cb: (result: any, task: () => Promise<any>) => void)
packages/start-plugin-core/src/queue.ts:107
↓ 12 callersMethodsetRoutes
({ routesById, routesByPath, processedTree, }: ProcessRouteTreeResult<TRouteTree>)
packages/router-core/src/router.ts:1260
↓ 12 callersFunctionstripSearchParams
(input: NoInfer<TInput>)
packages/router-core/src/searchMiddleware.ts:101
↓ 12 callersFunctionuseMatches
( opts?: UseMatchesBaseOptions<TRouter, TSelected, TStructuralSharing> & StructuralSharingOption<TRouter
packages/react-router/src/Matches.tsx:229
↓ 12 callersFunctionuseRouterState
( opts?: UseRouterStateOptions<TRouter, TSelected>, )
packages/vue-router/src/useRouterState.tsx:21
↓ 12 callersFunctionuseServerFn
( serverFn: T, )
packages/solid-start/src/useServerFn.ts:3
↓ 11 callersMethodcompile
({ code, id, parserFilename, detectedKinds, warn, }: { code: string id: string
packages/start-plugin-core/src/start-compiler/compiler.ts:978
↓ 11 callersFunctioncreateLazyRoute
(id: ConstrainLiteral<TId, RouteIds<TRouter['routeTree']>>)
packages/vue-router/src/fileRoute.ts:246
↓ 11 callersFunctioncreateRouterPluginContext
()
packages/router-plugin/src/core/router-plugin-context.ts:7
↓ 11 callersFunctiongenerateFromAst
( ast: _babel_types.Node, opts?: GenerateFromAstOptions, )
packages/router-utils/src/ast.ts:68
↓ 11 callersFunctionisDone
()
packages/router-core/src/ssr/transformStreamWithRouter.ts:230
↓ 10 callersMethodaccept
(options?: WebSocketAcceptOptions)
e2e/solid-start/basic-cloudflare/worker-configuration.d.ts:3049
↓ 10 callersFunctionattachRouterServerSsrUtils
({ router, manifest, getRequestAssets, }: { router: AnyRouter manifest: ServerManifest | undefined
packages/router-core/src/ssr/ssr-server.ts:378
↓ 10 callersFunctioncleanup
(reason?: unknown, cancelReader = true)
packages/router-core/src/ssr/transformStreamWithRouter.ts:246
↓ 10 callersFunctioncreateClientOnlyFn
(fn)
packages/start-fn-stubs/src/envOnly.ts:9
↓ 10 callersFunctioncreateLazyRoute
(id: ConstrainLiteral<TId, RouteIds<TRouter['routeTree']>>)
packages/react-router/src/fileRoute.ts:273
↓ 10 callersFunctioncreateStartHandler
( cbOrOptions: HandlerCallback<AnyRouter> | CreateStartHandlerOptions, )
packages/start-server-core/src/createStartHandler.ts:377
↓ 10 callersMethodend
(end: DocumentEnd)
e2e/solid-start/basic-cloudflare/worker-configuration.d.ts:1485
↓ 10 callersFunctioninteraction
(options?: { events?: HydrationInteractionEvents })
packages/react-start-client/src/hydration/generic.ts:35
↓ 10 callersFunctioninteraction
( options: InteractionHydrationOptions = {}, )
packages/start-client-core/src/hydration/interaction.ts:256
↓ 10 callersFunctionisMatch
( match: TMatch, path: Constrain<TPath, IsMatch<TMatch, TPath>['path']>, )
packages/router-core/src/Matches.ts:92
↓ 10 callersFunctionreplaceEqualDeep
( prev: any, _next: T, _makeObj = () => ({}), _depth = 0, )
packages/router-core/src/utils.ts:235
↓ 10 callersFunctionresolve
()
benchmarks/memory/client/scenarios/interrupted-navigations/slow-loaders.ts:30
↓ 10 callersFunctionsetCookie
( name: string, value: string, options?: CookieSerializeOptions, )
packages/start-server-core/src/request-response.ts:330
↓ 10 callersMethodtime
* The **`console.time()`** static method starts a timer you can use to track how long an operation takes. * * [MDN Reference](https://develo
e2e/solid-start/basic-cloudflare/worker-configuration.d.ts:189
↓ 10 callersFunctiontrimPathRight
(path: string)
packages/router-core/src/path.ts:35
↓ 10 callersFunctionuseBlocker
( opts?: UseBlockerOpts | LegacyBlockerOpts | LegacyBlockerFn, condition?: boolean | any, )
packages/solid-router/src/useBlocker.tsx:159
↓ 10 callersFunctionuseBlocker
( opts?: UseBlockerOpts | LegacyBlockerOpts | LegacyBlockerFn, condition?: boolean | any, )
packages/react-router/src/useBlocker.tsx:153
↓ 9 callersFunctioncollectLocalBindingsFromStatement
( node: t.Statement | t.ModuleDeclaration, bindings: Set<string>, )
packages/router-utils/src/compiler-helpers.ts:438
← previousnext →101–200 of 10,449, ranked by callers