Skip to content

Conversation

Raghuboi
Copy link

@Raghuboi Raghuboi commented Aug 15, 2025

Fixes #7328

Clarifies technical descriptions of HTML async and defer script attributes in the <script> component documentation.

Copy link

github-actions bot commented Aug 15, 2025

Size changes

📦 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! 🙌

- Fix async: was incorrectly described as deferring execution (defer behavior)
  Now correctly: fetched in parallel, evaluated as soon as available (out of order)
- Fix defer: was incorrectly typed as string, now boolean
  Clarified: fetched in parallel, executed after document loads (in order)

Fixes reactjs#7328
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Typo]: definitions of async/defer in the script tag documentation are incorrect
1 participant