MCPcopy
hub / github.com/molefrog/wouter / RouterObject

Interface RouterObject

packages/wouter/types/router.d.ts:30–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29// the object returned from `useRouter`
30export interface RouterObject {
31 readonly hook: BaseLocationHook;
32 readonly searchHook: BaseSearchHook;
33 readonly base: Path;
34 readonly ownBase: Path;
35 readonly parser: Parser;
36 readonly ssrPath?: Path;
37 readonly ssrSearch?: SearchString;
38 readonly ssrContext?: SsrContext;
39 readonly hrefs: HrefsFormatter;
40 readonly aroundNav: AroundNavHandler;
41}
42
43// state captured during SSR render
44export type SsrContext = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…