Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

React hook for updating the document-title

License

NotificationsYou must be signed in to change notification settings

rehooks/document-title

Repository files navigation

React hook for updating the document-title

Note: This is using the newReact Hooks API Proposalwhich is subject to change until React 16.7 final.

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

Install

yarn add @rehooks/document-title

Usage

importuseDocumentTitlefrom'@rehooks/document-title';functionMyComponent(){useDocumentTitle('Page Title');return<div/>;}

About

React hook for updating the document-title

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp