Resolves a URL against the current location.
import { useHref } from "react-router"; function SomeComponent() { let href = useHref("some/where"); // "/resolved/some/where" }
useHref(to, __namedParameters): string
No documentation
No documentation