Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/router
/ functions
Functions
12,371 in github.com/TanStack/router
⨍
Functions
12,371
◇
Types & classes
6,600
↓ 1 callers
Function
setup
()
packages/react-router/tests/issue-7986-retained-pending.test.tsx:34
↓ 1 callers
Function
setup
({ failVia }: { failVia: 'render' | 'loader' })
packages/react-router/tests/issue-7638-invalidate-transition-error.test.tsx:32
↓ 1 callers
Function
setup
({ RootComponent, history, }: { RootComponent: RouteComponent history?: RouterHistory })
packages/react-router/tests/useMatch.test.tsx:28
↓ 1 callers
Function
setup
(targetLoader?: () => void, nextLoader?: () => void)
packages/react-router/tests/link-destination.test.tsx:367
↓ 1 callers
Function
setup
(trailingSlash: 'never' | 'preserve' = 'never')
packages/react-router/tests/link-selector.test.tsx:20
↓ 1 callers
Function
setup
(opts?: { remountDeps: { default?: RemountDepsFn fooId?: RemountDepsFn foo2Id?: RemountD
packages/react-router/tests/router.test.tsx:984
↓ 1 callers
Function
setup
()
e2e/react-start/basic/tests/setup/dev-server.setup.ts:3
↓ 1 callers
Function
setup
()
e2e/vue-start/basic-auth/src/routes/signup.tsx:69
↓ 1 callers
Function
setup
()
e2e/solid-start/css-modules/tests/setup/global.setup.ts:3
↓ 1 callers
Function
setup
()
benchmarks/client-nav/vue/app.tsx:39
↓ 1 callers
Function
setup
()
benchmarks/client-nav/vue/setup.ts:10
↓ 1 callers
Function
setupBeforeLoadNotFoundHierarchy
(throwAtIndex: 1 | 2 | 3)
packages/router-core/tests/load.test.ts:1433
↓ 1 callers
Function
setupConfig
( folder: string, inlineConfig: Partial<Omit<Config, 'routesDirectory'>> = {}, )
packages/router-generator/tests/deny-route-group-config.test.ts:11
↓ 1 callers
Function
setupConfig
( folder: string, inlineConfig: Partial<Omit<Config, 'routesDirectory'>> = {}, )
packages/router-generator/tests/generator.test.ts:44
↓ 1 callers
Function
setupDocumentNavigation
({ initialHref = '/current?query=1#same', baseHref, hashHistory = false, }: { initialHref?: string b
packages/router-core/tests/document-navigation-blocking.test.ts:11
↓ 1 callers
Function
setupFixedLink
( params = { id: 'fixed' }, stringify?: (params: Record<string, unknown>) => { id: string }, )
packages/react-router/tests/link-destination.test.tsx:23
↓ 1 callers
Function
setupPending
(options: { throwFromP?: boolean } = {})
packages/vue-router/tests/link-departing-scope.test.tsx:777
↓ 1 callers
Function
setupPending
(options: { throwFromP?: boolean } = {})
packages/solid-router/tests/link-departing-scope.test.tsx:766
↓ 1 callers
Function
setupRouter
({ isServer = false, basepath, history = createMemoryHistory({ initialEntries: ['/'] }), rewrite = {
packages/router-core/tests/document-navigation.test.ts:11
↓ 1 callers
Function
setupRouter
()
packages/router-core/tests/server-url-encoding.test.ts:28
↓ 1 callers
Function
setupRouter
* A notFound thrown from a route's ssr() option happens during the serial * phase, before beforeLoad has run for that route and its descendants. It
packages/router-core/tests/server-serial-ssr-notfound.test.ts:16
↓ 1 callers
Function
setupRouter
()
packages/vue-router/tests/useNavigate.test.tsx:1506
↓ 1 callers
Function
setupRouter
()
packages/vue-router/tests/link.test.tsx:6937
↓ 1 callers
Function
setupRouter
()
packages/solid-router/tests/useNavigate.test.tsx:1479
↓ 1 callers
Function
setupRouter
()
packages/solid-router/tests/link.test.tsx:6475
↓ 1 callers
Function
setupRouter
()
packages/react-router/tests/useNavigate.test.tsx:2272
↓ 1 callers
Function
setupRouter
()
packages/react-router/tests/link.test.tsx:6401
↓ 1 callers
Function
setupScenario
({ throwAtIndex, parentFailures, beforeLoadNotFoundFactory, skipRootLoaderOnReload = f
packages/router-core/tests/load.test.ts:1699
↓ 1 callers
Function
setupTest
(opts: { initial: { route: string; search?: { value?: string } } middlewares: Array<SearchMiddleware<any>>
packages/vue-router/tests/searchMiddleware.test.tsx:23
↓ 1 callers
Function
setupTest
(opts: { initial: { route: string; search?: { value?: string } } middlewares: Array<SearchMiddleware<any>>
packages/solid-router/tests/searchMiddleware.test.tsx:22
↓ 1 callers
Function
setupTest
(opts: { initial: { route: string; search?: { value?: string } } middlewares: Array<SearchMiddleware<any>>
packages/react-router/tests/searchMiddleware.test.tsx:33
↓ 1 callers
Function
setupTestRouter
()
packages/vue-router/tests/optional-path-params.test.tsx:258
↓ 1 callers
Function
setupTestRouter
()
packages/solid-router/tests/optional-path-params.test.tsx:237
↓ 1 callers
Function
setupTestRouter
()
packages/react-router/tests/optional-path-params.test.tsx:236
↓ 1 callers
Function
setupTransition
()
packages/solid-router/tests/link-departing-scope.test.tsx:881
↓ 1 callers
Function
setupWithPathParams
({ loader, staleTime, }: { loader?: () => unknown staleTime?: number })
packages/router-core/tests/callbacks.test.ts:165
↓ 1 callers
Function
sha1Hash
* This is a simple hash function for generating a hash from a string to make the filenames shorter. * * It is not cryptographically secure (as its u
packages/start-static-server-functions/src/staticFunctionMiddleware.ts:32
↓ 1 callers
Function
shouldCaptureDiagnosticSourceMap
( code: string, envType: 'client' | 'server', matchers: EnvRules, )
packages/start-plugin-core/src/vite/import-protection-plugin/plugin.ts:303
↓ 1 callers
Function
shouldCheckImporter
(importer: string)
packages/start-plugin-core/src/vite/import-protection-plugin/plugin.ts:892
↓ 1 callers
Function
shouldDeferHydration
(strategy: HydrationStrategy)
packages/react-start-client/src/GenericHydrate.tsx:47
↓ 1 callers
Function
shouldDeferHydration
(strategy: HydrationStrategy)
packages/solid-start-client/src/GenericHydrate.tsx:51
↓ 1 callers
Function
shouldIgnore
(filePath: string, patterns: Array<string>)
packages/eslint-plugin-start/src/rules/no-async-client-component/no-async-client-component.rule.ts:201
↓ 1 callers
Function
shouldInjectReactRefreshPreamble
( environment: ReactRefreshEnvironment | undefined, framework: CompileStartFrameworkOptions, )
packages/start-plugin-core/src/vite/plugins.ts:60
↓ 1 callers
Function
shouldPreferIndexRoute
( current: RouteNode, existing: RouteNode, )
packages/router-generator/src/utils.ts:960
↓ 1 callers
Function
shouldRebaseInlineCssUrls
(css: string)
packages/start-plugin-core/src/start-manifest-plugin/inlineCss.ts:28
↓ 1 callers
Function
shouldRemoveInactivePreservedHeadElement
(element: Element)
packages/vue-router/src/HeadContent.tsx:100
↓ 1 callers
Function
shouldReplaceRouteNodeForFullPath
( current: RouteNode, existing: RouteNode, )
packages/router-generator/src/utils.ts:994
↓ 1 callers
Function
shouldReplaceRouteNodeForTo
( current: RouteNode, existing: RouteNode, )
packages/router-generator/src/utils.ts:975
↓ 1 callers
Function
shouldRewriteDevBasepath
(opts: { command: 'serve' | 'build' middlewareMode: boolean | undefined routerBasepath: string publicB
packages/start-plugin-core/src/planning.ts:48
↓ 1 callers
Function
shouldSkipSuspenseFallback
()
packages/solid-router/src/Match.tsx:71
↓ 1 callers
Function
shouldThrow
(folderName: string)
packages/router-generator/tests/generator.test.ts:344
↓ 1 callers
Method
shout
()
e2e/react-start/serialization-adapters/src/data.tsx:100
↓ 1 callers
Method
shout
()
e2e/vue-start/serialization-adapters/src/data.tsx:100
↓ 1 callers
Method
shout
()
e2e/solid-start/serialization-adapters/src/data.tsx:100
↓ 1 callers
Function
shuffle
(arr: Array<T>)
examples/react/kitchen-sink-react-query-file-based/src/utils/utils.tsx:21
↓ 1 callers
Function
shuffle
(arr: Array<T>)
examples/react/kitchen-sink-react-query/src/utils.tsx:21
↓ 1 callers
Function
shuffle
(arr: Array<T>)
examples/react/kitchen-sink/src/utils.tsx:21
↓ 1 callers
Function
shuffle
(arr: Array<T>)
examples/react/kitchen-sink-file-based/src/utils/utils.tsx:21
↓ 1 callers
Function
shuffle
(arr: Array<T>)
examples/solid/kitchen-sink-solid-query/src/utils.tsx:21
↓ 1 callers
Function
shuffle
(arr: Array<T>)
examples/solid/kitchen-sink/src/utils.tsx:21
↓ 1 callers
Function
shuffle
(arr: Array<T>)
examples/solid/kitchen-sink-file-based/src/utils/utils.tsx:21
↓ 1 callers
Function
shuffle
(arr: Array<T>)
examples/solid/kitchen-sink-solid-query-file-based/src/utils/utils.tsx:21
↓ 1 callers
Function
signup
( page: Page, baseUrl: string, email: string, password: string, )
e2e/react-start/basic-auth/tests/app.spec.ts:4
↓ 1 callers
Function
signup
(page: Page, email: string, password: string)
e2e/vue-start/basic-auth/tests/app.spec.ts:8
↓ 1 callers
Function
signup
(page: Page, email: string, password: string)
e2e/solid-start/basic-auth/tests/app.spec.ts:8
↓ 1 callers
Function
simulateDelay
(ms: number)
e2e/react-start/rsc/src/routes/rsc-async-bundle.tsx:28
↓ 1 callers
Function
slash
(path: string)
packages/start-plugin-core/src/utils.ts:39
↓ 1 callers
Function
sleep
(ms: number)
packages/router-core/tests/load.test.ts:2310
↓ 1 callers
Function
sleep
(ms: number)
examples/react/start-rscs/src/low-level/components/streaming-ticker/server-functions.tsx:4
↓ 1 callers
Function
sleep
(ms: number)
examples/react/start-rscs/src/e-Commerce/server-functions.tsx:233
↓ 1 callers
Function
sleep
(ms: number)
e2e/react-start/response-reconciliation/src/start.ts:144
↓ 1 callers
Function
sleep
(ms: number)
e2e/vue-router/scroll-restoration-sandbox-vite/src/posts.tsx:3
↓ 1 callers
Function
sleep
(ms: number)
e2e/vue-start/scroll-restoration/src/utils/posts.tsx:3
↓ 1 callers
Function
sleep
(ms: number)
e2e/solid-router/scroll-restoration-sandbox-vite/src/posts.tsx:3
↓ 1 callers
Function
sleep
(ms: number)
e2e/react-router/scroll-restoration-sandbox-vite/tests/issue-7040.repro.spec.ts:44
↓ 1 callers
Function
sleep
(ms: number)
e2e/solid-start/scroll-restoration/src/utils/posts.tsx:3
↓ 1 callers
Function
sliceGraphForEntryFile
( full: ReturnType< typeof createRenderGraphBuilder >['getGraph'] extends () => infer G
packages/eslint-plugin-start/src/rules/no-async-client-component/no-async-client-component.rule.ts:257
↓ 1 callers
Function
snapshot
()
benchmarks/client-nav/scenarios/hydration/react/setup.ts:186
↓ 1 callers
Function
snapshot
()
benchmarks/client-nav/scenarios/hydration/solid/setup.ts:188
↓ 1 callers
Function
snapshotCurrentScrollTargets
(restoreKey: string)
packages/router-core/src/scroll-restoration.ts:169
↓ 1 callers
Function
snapshotHeaders
(headers: Headers)
packages/start-client-core/tests/function-middleware.bench.ts:82
↓ 1 callers
Function
sortPaths
(routePaths: Array<string>)
packages/router-generator/tests/utils.test.ts:998
↓ 1 callers
Function
sourceAttributionForFiles
(baseDir, fileList)
scripts/benchmarks/bundle-size/measure.mjs:760
↓ 1 callers
Function
sourceOptions
(caseId: LinkCaseId, stateIndex: number)
benchmarks/client-nav/link-performance/src/workload.tsx:232
↓ 1 callers
Function
sourcePathsAt
(ref)
packages/router-core/benchmarks/ssr-streaming/run.mjs:163
↓ 1 callers
Function
sourceSnapshotSha256
(sourceRoot, repositoryPaths)
packages/router-core/benchmarks/ssr-streaming/run.mjs:218
↓ 1 callers
Function
sparkline
(values)
scripts/benchmarks/bundle-size/pr-report.mjs:132
↓ 1 callers
Function
splitSlotProps
(props?: Record<string, unknown>)
packages/react-start-rsc/src/CompositeComponent.tsx:17
↓ 1 callers
Function
start
()
e2e/react-start/session-handling/server.js:26
↓ 1 callers
Function
start
()
e2e/react-start/server-functions/server.js:32
↓ 1 callers
Function
start
()
e2e/react-start/response-reconciliation/server.js:37
↓ 1 callers
Function
start
()
e2e/react-start/rsc-rsbuild/server.js:32
↓ 1 callers
Function
start
()
e2e/react-start/import-protection/server.js:32
↓ 1 callers
Function
start
()
e2e/react-start/rsc/server.js:32
↓ 1 callers
Function
start
()
e2e/react-start/rsc-deferred-hydration/server.js:22
↓ 1 callers
Function
start
()
e2e/react-start/rsbuild/server.js:32
↓ 1 callers
Method
start
()
packages/react-start-rsc/src/ReplayableStream.ts:68
↓ 1 callers
Method
start
()
packages/start-plugin-core/src/queue.ts:118
↓ 1 callers
Function
startCompilerPlugin
( opts: StartCompilerPluginOptions, )
packages/start-plugin-core/src/vite/start-compiler-plugin/plugin.ts:248
↓ 1 callers
Function
startDevApp
* Starts a Vite dev server with the router plugin (and no framework plugin) * for an app made of `files`, connects an HMR client to it the way the *
packages/router-plugin/tests/add-hmr.test.ts:214
← previous
next →
4,401–4,500 of 12,371, ranked by callers