declare function useHref(to: To): string;
useHref hook returns a URL that may be used to link to the given
to location, even outside of React Router.
You may be interested in taking a look at the source for the
react-router-domto see how it uses
useHrefinternally to determine its own