Custom hook that sets the document title.
import { useDocumentTitle } from "@teasim/hooks"; export default function Component() { useDocumentTitle("foo bar"); }