Document Title Save

React hook for updating the document-title

Project README

@rehooks/document-title

React hook for updating the document-title

Note: This is using the new React Hooks API Proposal which is subject to change until React 16.7 final.

You'll need to install react, react-dom, etc at ^16.7.0-alpha.0

Install

yarn add @rehooks/document-title

Usage

import useDocumentTitle from '@rehooks/document-title';

function MyComponent() {
  useDocumentTitle('Page Title');
  return <div/>;
}
Open Source Agenda is not affiliated with "Document Title" Project. README Source: rehooks/document-title
Stars
59
Open Issues
11
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating