MCPcopy
hub / github.com/TanStack/router / createRouter

Function createRouter

packages/solid-router/src/router.ts:76–78  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

74}
75
76export const createRouter: CreateRouterFn = (options) => {
77 return new Router(options)
78}
79
80export class Router<
81 in out TRouteTree extends AnyRoute,

Callers 15

createTestRouterFunction · 0.90
link.test-d.tsxFile · 0.90
route.test.tsxFile · 0.90
setupFunction · 0.90
not-found.test.tsxFile · 0.90
setupFunction · 0.90

Calls

no outgoing calls

Tested by 15

createTestRouterFunction · 0.72
setupFunction · 0.72
setupFunction · 0.72
runTestFunction · 0.72
setupRouterFunction · 0.72
setupFunction · 0.72
createTestRouterFunction · 0.72
runTestFunction · 0.72
setupRouterFunction · 0.72
createTestRouterFunction · 0.72