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

Function useLocation

packages/wouter/src/index.js:82–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80};
81
82export const useLocation = () => useLocationFromRouter(useRouter());
83
84export const useSearch = () => {
85 const router = useRouter();

Callers 9

LogLocationsFunction · 0.90
AppFunction · 0.90
NavigateButtonFunction · 0.90
LocationDisplayFunction · 0.90
CartPageFunction · 0.90
useRouteFunction · 0.85
useSearchParamsFunction · 0.85
LocationPrinterFunction · 0.85

Calls 2

useLocationFromRouterFunction · 0.85
useRouterFunction · 0.85

Tested by 5

LogLocationsFunction · 0.72
AppFunction · 0.72
NavigateButtonFunction · 0.72
LocationDisplayFunction · 0.72
LocationPrinterFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…