Update preinit.md 📜 (#6938)

Fix very minor typo
This commit is contained in:
Sanjaiyan Parthipan
2024-06-12 14:48:38 +05:30
committed by GitHub
parent 04b5d4402d
commit 73a8d9c194

View File

@@ -20,7 +20,7 @@ The `preinit` function is currently only available in React's Canary and experim
`preinit` lets you eagerly fetch and evaluate a stylesheet or external script.
```js
preinit("https://example.com/script.js", {as: "style"});
preinit("https://example.com/script.js", {as: "script"});
```
</Intro>