Skip to content

Conversation

sky21kr
Copy link

@sky21kr sky21kr commented Aug 18, 2025

image

Summary

The documentation currently states:

This special treatment comes with two caveats:

But there are actually three caveats listed:

  1. React will ignore changes to props after the style has been rendered.
  2. React will drop all extraneous props when using the precedence prop (beyond href and precedence).
  3. React may leave the style in the DOM even after the component that rendered it has been unmounted.

This PR updates "two caveats" → "three caveats" to match the actual number of listed caveats.

Page

https://react.dev/reference/react-dom/components/style#special-rendering-behavior

Notes

  • This is a small typo fix in the documentation.
  • No code changes included.

Copy link

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

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.

1 participant