Qwik City - useDocumentHead()
Use useDocumentHead() to retrieve the document head metadata. useDocumentHead() retrieves DocumentHead object that will allow you to:
- update the
titlein<head>. - update the
metatags in<head>. - update the
linktags in<head>. - update the
styletags in<head>.
The useDocumentHead() is used by <Head> component to update the <head> tag.