OptionalrestoreWhether to restore the original document title when the component unmounts.
If this value changes dynamically, the hook will respect the latest value on unmount.
OptionaltemplateOptional template for the title, Use %s as a placeholder for the title.
All occurrences of %s will be replaced by the provided title.
OptionalskipIf true, the hook will skip updating the title if the new title is identical to the current document.title.
Options to configure the behavior of useDocumentTitle