🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
import { useEffect } from "react"; export const useSetPageTitle = (title: string) => { useEffect(() => { if (title) document.title = title; }, [title]); };