Skip to content

Commit ddfcf6e

Browse files
authored
fix: typo in component style documentation (#7925)
1 parent 2774ddf commit ddfcf6e

File tree

1 file changed

+1
-1
lines changed
  • src/content/reference/react-dom/components

1 file changed

+1
-1
lines changed

src/content/reference/react-dom/components/style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ React can move `<style>` components to the document's `<head>`, de-duplicate ide
4949

5050
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.
5151

52-
This special treatment comes with two caveats:
52+
This special treatment comes with three caveats:
5353

5454
* React will ignore changes to props after the style has been rendered. (React will issue a warning in development if this happens.)
5555
* React will drop all extraneous props when using the `precedence` prop (beyond `href` and `precedence`).

0 commit comments

Comments
 (0)