useFavicon

Set the favicon 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 icon of the tab follows the choice.

APIs

useFavicon

const useFavicon = (url: string) => void
Edit this page on GitHub