DOM resources

<link>

React 19 supports resource links. A stylesheet with precedence participates in resource ordering; use a reviewed same-origin asset. Canonical metadata uses a different rel value.

Formal Syntax & Structure

react syntaxreact
<link ... />

Working Example

Example Snippetreact
export default function Report(){return <><link rel='stylesheet' href='/report.css' precedence='report'/><h1>Report</h1></>}
React Reference