You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/reference/react-dom/components/style.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ React can move `<style>` components to the document's `<head>`, de-duplicate ide
49
49
50
50
To opt into this behavior, provide the `href` and `precedence` props. React will de-duplicate styles if they have the same `href`. The precedence prop tells React where to rank the `<style>` DOM node relative to others in the document `<head>`, which determines which stylesheet can override the other.
51
51
52
-
This special treatment comes with two caveats:
52
+
This special treatment comes with three caveats:
53
53
54
54
* React will ignore changes to props after the style has been rendered. (React will issue a warning in development if this happens.)
55
55
* React will drop all extraneous props when using the `precedence` prop (beyond `href` and `precedence`).
0 commit comments