MCPcopy Create free account
hub / github.com/code-forge-io/react-router-devtools / buildStandaloneTo

Function buildStandaloneTo

docs/app/utils/path-builders.ts:32–35  ·  view source on GitHub ↗
(version: string, slug: string)

Source from the content-addressed store, hash-verified

30}
31
32export function buildStandaloneTo(version: string, slug: string) {
33 const filename = getFilenameFromSlug(slug)
34 return href("/:version/:section?/:subsection?/:filename", { version, filename })
35}
36
37export function buildSectionedTo(version: string, slug: string) {
38 const { section, subsection, filename } = splitSlug(slug)

Callers 1

SidebarContentFunction · 0.90

Calls 1

getFilenameFromSlugFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…