The href of a hash route, for links that should still open in a new tab. The root's is the page's own path, read
from the location, so call it for the root only in the browser, such as in an event handler; a link rendered on the
server takes useHashRouteHref.
Parameters
route: string
Route to link to, or an empty string for the root.
The href of a hash route, for links that should still open in a new tab. The root's is the page's own path, read from the location, so call it for the root only in the browser, such as in an event handler; a link rendered on the server takes
useHashRouteHref.