Skip to content

Commit 62ac0cd

Browse files
committed
docs: document preloadModule fetchPriority
1 parent 75ef18a commit 62ac0cd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/content/reference/react-dom/preloadModule.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ The `preloadModule` function provides the browser with a hint that it should sta
5050
* `crossOrigin`: a string. The [CORS policy](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin) to use. Its possible values are `anonymous` and `use-credentials`.
5151
* `integrity`: a string. A cryptographic hash of the module, to [verify its authenticity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity).
5252
* `nonce`: a string. A cryptographic [nonce to allow the module](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/nonce) when using a strict Content Security Policy.
53+
* `fetchPriority`: a string. Suggests a relative priority for fetching the module. The possible values are `auto` (the default), `high`, and `low`.
5354

5455

5556
#### Returns {/*returns*/}

0 commit comments

Comments
 (0)