useDocumentTitle

Set the title of the page and update it when the value changes.

This is custom React hooks, you need to follow the Basic Rules when you use it.

General

The title of the tab follows the input.

APIs

useDocumentTitle

const useDocumentTitle = (title: string) => void
Edit this page on GitHub