We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04b5d44 commit 73a8d9cCopy full SHA for 73a8d9c
src/content/reference/react-dom/preinit.md
@@ -20,7 +20,7 @@ The `preinit` function is currently only available in React's Canary and experim
20
`preinit` lets you eagerly fetch and evaluate a stylesheet or external script.
21
22
```js
23
-preinit("https://example.com/script.js", {as: "style"});
+preinit("https://example.com/script.js", {as: "script"});
24
```
25
26
</Intro>
0 commit comments