Merge pull request #163 from charlottetan/fix/caveat-to-warning

Updating "caveat" to "warning"
This commit is contained in:
Brian Vaughn
2017-10-16 09:13:27 -07:00
committed by GitHub

View File

@@ -81,7 +81,7 @@ const element = <img src={user.avatarUrl}></img>;
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.
>**Caveat:**
>**Warning:**
>
>Since JSX is closer to JavaScript than HTML, React DOM uses `camelCase` property naming convention instead of HTML attribute names.
>