Skip to content

[Suggestion]: preloadModule support for fetchpriority #8498

Description

@MaxwellCohen

Summary

fetchpriority was added as a support option as part of react/react#36835, so docs should be updated to include it.

Page

https://react.dev/reference/react-dom/preloadModule#reference

Details

Add an options value for fetchpriority
something like :

fetchPriority: a string. Suggests a [relative priority for fetching](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/fetchpriority) the script. Its possible values are auto, high, and low.

I am not sure if this needs a canary/experimental badge because this is a very new change

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions