Skip to content

Commit 0197b16

Browse files
authored
Merge pull request #163 from charlottetan/fix/caveat-to-warning
Updating "caveat" to "warning"
2 parents e469454 + 7238d42 commit 0197b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/introducing-jsx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const element = <img src={user.avatarUrl}></img>;
8181

8282
Don't put quotes around curly braces when embedding a JavaScript expression in an attribute. You should either use quotes (for string values) or curly braces (for expressions), but not both in the same attribute.
8383

84-
>**Caveat:**
84+
>**Warning:**
8585
>
8686
>Since JSX is closer to JavaScript than HTML, React DOM uses `camelCase` property naming convention instead of HTML attribute names.
8787
>

0 commit comments

Comments
 (0)