From fdf409a7d12c4d855cb07e455e26755515e1dadf Mon Sep 17 00:00:00 2001 From: Jonathan Pool Date: Wed, 10 Jan 2018 05:22:23 -0800 Subject: [PATCH] Grammatical disambiguation (#504) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- content/docs/introducing-jsx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/introducing-jsx.md b/content/docs/introducing-jsx.md index 3d12828f..0cb427ce 100644 --- a/content/docs/introducing-jsx.md +++ b/content/docs/introducing-jsx.md @@ -93,7 +93,7 @@ Don't put quotes around curly braces when embedding a JavaScript expression in a >**Warning:** > ->Since JSX is closer to JavaScript than HTML, React DOM uses `camelCase` property naming convention instead of HTML attribute names. +>Since JSX is closer to JavaScript than to HTML, React DOM uses `camelCase` property naming convention instead of HTML attribute names. > >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).