Skip to content

Commit 8fe5a16

Browse files
authored
docs: fix in link.md link style
1 parent 730d045 commit 8fe5a16

File tree

1 file changed

+2
-0
lines changed
  • src/content/reference/react-dom/components

1 file changed

+2
-0
lines changed

src/content/reference/react-dom/components/link.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ export default function BlogPage() {
129129
If a component depends on a certain stylesheet in order to be displayed correctly, you can render a link to that stylesheet within the component. Your component will [suspend](/reference/react/Suspense) while the stylesheet is loading. You must supply the `precedence` prop, which tells React where to place this stylesheet relative to others — stylesheets with higher precedence can override those with lower precedence.
130130

131131
<Note>
132+
132133
When you want to use a stylesheet, it can be beneficial to call the [preinit](/reference/react-dom/preinit) function. Calling this function may allow the browser to start fetching the stylesheet earlier than if you just render a `<link>` component, for example by sending an [HTTP Early Hints response](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103).
134+
133135
</Note>
134136

135137
<SandpackWithHTMLOutput>

0 commit comments

Comments
 (0)