keepHashFromUrl(url) {
    if (!url)
      return "";
    return url.replace(/^.*#(.*)/, "$1").replace(/\?.*$/, "");
  }
Only keep anything after the # & ignoring query params
@param {string} url URL to extract the hash from
@returns {string} Just the route id