useDocumentTitle
Dynamically update the title of a web page.
Installation
Install the custom hook from your command line.
npm i @raddix/use-document-title
Usage
API
Parameters
Name | Description | Type |
---|---|---|
title | The title to be set for the document. | string |