function getComponentForPath(path) {
  const { Comp, is404 } = getTemplateForPath(path)
  if (is404 && !Comp) {
    return false
  }

  return React.createElement(Comp, { is404 })
}
@param {string} path
@returns {React.ReactNode | false}