Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
35
export function useNavigate(): (pathname: string) => void {
36
return useContext(RouterContext).navigate;
37
}
Callers
1
App
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected