Skip to content

docs: document fetchPriority support for preloadModule and preinitModule - #8501

Merged
acdlite merged 3 commits into
reactjs:mainfrom
coolwent:fix/preloadModule-fetchPriority
Oct 27, 2026
Merged

acdlite merged 3 commits into
reactjs:mainfrom
coolwent:fix/preloadModule-fetchPriority

Conversation

@coolwent

Copy link
Copy Markdown
Contributor

This PR documents the fetchPriority option for the ESM module resource-loading APIs (preloadModule and preinitModule) in the React DOM reference, following its addition in react/react#36835.

Changes

  • Added documentation for the fetchPriority option under the options parameter in src/content/reference/react-dom/preloadModule.md.
  • Added documentation for the fetchPriority option under the options parameter in src/content/reference/react-dom/preinitModule.md.

Closes #8498

@github-actions

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Comment thread src/content/reference/react-dom/preinitModule.md Outdated
Comment thread src/content/reference/react-dom/preloadModule.md Outdated
aurorascharff and others added 2 commits October 26, 2026 22:08
Co-authored-by: MaxwellCohen <to.email.max@gmail.com>
Co-authored-by: MaxwellCohen <to.email.max@gmail.com>
@acdlite

acdlite commented Oct 27, 2026

Copy link
Copy Markdown
Member

Thanks!

@acdlite
acdlite merged commit 0821e7d into reactjs:main Oct 27, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — bbfd1d1b Deployed Oct 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Suggestion]: preloadModule support for fetchpriority

4 participants