Skip to content

docs(warnings): update special-props warning for React 19 ref prop fo… - #8640

Open
mdimamhosen wants to merge 1 commit into
reactjs:mainfrom
mdimamhosen:fix/8323-update-special-props-warning
Open

docs(warnings): update special-props warning for React 19 ref prop fo…#8640
mdimamhosen wants to merge 1 commit into
reactjs:mainfrom
mdimamhosen:fix/8323-update-special-props-warning

Conversation

@mdimamhosen

Copy link
Copy Markdown

Description

Fixes #8323

The warning documentation page at /warnings/special-props (linked directly from React engine runtime warnings via /link/special-props) stated that both ref and key are not forwarded to components.

In React 19, ref is available as a prop for function components. This PR updates the copy to clarify that key is the only prop that React reserves and does not forward to child components.

Verification

  • yarn tsc passed (0 errors)
  • yarn prettier:diff passed
  • node scripts/deadLinkChecker.js passed

Copilot AI lite review requested due to automatic review settings September 4, 2026 20:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Sep 4, 2026

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

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.

[Bug]: Orphaned page for special props documentation (ref and key)

2 participants