React · Senior · Question 66 of 75
What does <link rel="stylesheet" href="/chart.css" precedence="default" /> inside a component do in React 19?
- ✓Correct answer: React hoists it into
<head>, dedupes it and waits for it before revealing the Suspense boundary - 2Inserts the link where the component is rendered
- 3Inlines the CSS into the component
Explanation
Components can declare their own stylesheets without flashes of unstyled content. precedence controls ordering relative to other stylesheets.