From 6edc47aeae7b4bd5a6fc23ba9a6d122cac040dbb Mon Sep 17 00:00:00 2001 From: Daniel Lo Nigro Date: Sat, 4 Jan 2014 23:25:28 -0800 Subject: [PATCH] =?UTF-8?q?Add=20link=20to=20HTML=20to=20JSX=20converter?= =?UTF-8?q?=20to=20=E2=80=9CJSX=20In=20Depth=E2=80=9D=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/02.1-jsx-in-depth.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/02.1-jsx-in-depth.md b/docs/02.1-jsx-in-depth.md index aff8beee8..36a503eca 100644 --- a/docs/02.1-jsx-in-depth.md +++ b/docs/02.1-jsx-in-depth.md @@ -58,7 +58,9 @@ var app = Nav({color:"blue"}, Profile(null, "click")); ``` Use the [JSX Compiler](/react/jsx-compiler.html) to try out JSX and see how it -desugars into native JavaScript. +desugars into native JavaScript, and the +[HTML to JSX converter](/react/html-jsx.html) to convert your existing HTML to +JSX. If you want to use JSX, the [Getting Started](/react/docs/getting-started.html) guide shows how to setup compilation. @@ -104,7 +106,7 @@ See [Multiple Components](/react/docs/multiple-components.html) to learn more ab > Note: > -> Since JSX is JavaScript, identifiers such as `class` and `for` are discouraged +> Since JSX is JavaScript, identifiers such as `class` and `for` are not allowed > as XML attribute names. Instead, React DOM components expect attributes like > `className` and `htmlFor`, respectively.