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

Function navigate

packages/wouter/test/redirect.test.tsx:11–14  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

9 () => {
10 const [path, updatePath] = useState(initialPath);
11 const navigate = (path: string) => {
12 updatePath(path);
13 return "foo";
14 };
15
16 return [path, navigate];
17 };

Callers 11

use-route.test.tsxFile · 0.70
link.test.tsxFile · 0.70
NavigateButtonFunction · 0.70
aroundNavFunction · 0.50
CartPageFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…