MCPcopy Create free account
hub / github.com/adobe/react-spectrum / useNavigate

Function useNavigate

packages/dev/s2-docs/pages/s2/router.tsx:35–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35export function useNavigate(): (pathname: string) => void {
36 return useContext(RouterContext).navigate;
37}

Callers 1

AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected