Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/freshframework/fresh
/ add
Method
add
packages/fresh/src/router.ts:44–44 ·
view source on GitHub ↗
( method: Method, pathname: string, item: T, )
Source
from the content-addressed store, hash-verified
42
43
export
interface
Router<T> {
44
add(
45
method: Method,
46
pathname: string,
47
item: T,
Callers
15
crawlPage
Function · 0.65
setActiveLink
Function · 0.65
applyCommandsInner
Function · 0.65
router_test.ts
File · 0.65
render
Method · 0.65
add
Method · 0.65
unpack
Function · 0.65
registerIsland
Method · 0.65
process
Method · 0.65
flush
Method · 0.65
cors
Function · 0.65
preact_hooks.ts
File · 0.65
Implementers
1
UrlPatternRouter
packages/fresh/src/router.ts
Calls
no outgoing calls
Tested by
no test coverage detected