Skip to content

Commit fdf409a

Browse files
jrpoolgaearon
authored andcommitted
Grammatical disambiguation (#504)
Prevents interpretation as “JSX is closer to JavaScript than HTML is”. The latter is obviously true, but the apparent meaning is the former, which is less obvious.
1 parent 276e75c commit fdf409a

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
@@ -93,7 +93,7 @@ Don't put quotes around curly braces when embedding a JavaScript expression in a
9393

9494
>**Warning:**
9595
>
96-
>Since JSX is closer to JavaScript than HTML, React DOM uses `camelCase` property naming convention instead of HTML attribute names.
96+
>Since JSX is closer to JavaScript than to HTML, React DOM uses `camelCase` property naming convention instead of HTML attribute names.
9797
>
9898
>For example, `class` becomes [`className`](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) in JSX, and `tabindex` becomes [`tabIndex`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex).
9999

0 commit comments

Comments
 (0)