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

Function navigate

benchmarks/client-nav/vue/setup.ts:32–36  ·  view source on GitHub ↗
(opts: NavigateOptions)

Source from the content-addressed store, hash-verified

30 })
31
32 const navigate = (opts: NavigateOptions) =>
33 new Promise<void>((resolveNext) => {
34 resolveRendered = resolveNext
35 router.navigate(opts)
36 })
37
38 next = () => {
39 const nextId = id++

Callers 15

beforeFunction · 0.70
useNavigateFunction · 0.50
NavigateFunction · 0.50
setupFunction · 0.50
IndexComponentFunction · 0.50
PostsIndexComponentFunction · 0.50
PostComponentFunction · 0.50
DetailsComponentFunction · 0.50
setupRouterFunction · 0.50
PostsComponentFunction · 0.50
setModalFunction · 0.50

Calls

no outgoing calls

Tested by 15

setupFunction · 0.40
IndexComponentFunction · 0.40
PostsIndexComponentFunction · 0.40
PostComponentFunction · 0.40
DetailsComponentFunction · 0.40
setupRouterFunction · 0.40
PostsComponentFunction · 0.40
setModalFunction · 0.40
PostDetailComponentFunction · 0.40
IndexComponentFunction · 0.40
setupFunction · 0.40
ComponentFunction · 0.40