Set document.title from a component, and restore the previous title when it unmounts, so each view of a single-page app names itself.
pnpm dlx shadcn@latest add "https://ui.tealmac.com/r/use-document-title.json"