Reference Documentation ↗
Creates a string URL path from the given pathname, search, and hash components.
function createPath({ pathname = "/", search = "", hash = "", }: Partial<Path>)
The pathname, search, and hash components to combine.
The combined URL path.