Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 194 Bytes

useTitle.md

File metadata and controls

16 lines (10 loc) · 194 Bytes

useTitle

React side-effect hook that sets title of the page.

Usage

import {useTitle} from 'react-use';

const Demo = () => {
  useTitle('Hello world!');

  return null;
};