DOM resources

<title>

React 19 can place a title rendered by a route component in the document head. Keep one active descriptive page title and a single string child.

Formal Syntax & Structure

react syntaxreact
<title ... />

Working Example

Example Snippetreact
export default function Report(){return <><title>Stock report</title><h1>Stock report</h1></>}
React Reference