useDocumentTitle

Dynamically update the document title.

Live Demo Placeholder

Interactive demo coming soon.

Usage Example
1import { useDocumentTitle } from '@danixsoft/hooks';
2
3function Example() {
4  useDocumentTitle('New Page Title');
5  
6  return <div>Look at the tab!</div>;
7}