code: function normalizeRoute(path, parent) {
    if (path[0] === '/' || path[0] === '') {
      return path;  // absolute route
    }
    if (!parent) {
      return path;  // no need for a join
    }
    return `${parent.route}/${path}`; // join
  }
docs: Normalize route based on the parent.