From fdfd7c07cac31a50d7a7257a3bbccf605e676129 Mon Sep 17 00:00:00 2001 From: Christopher Chedeau Date: Sun, 23 Jun 2013 22:01:28 -0600 Subject: [PATCH] Add @jsx common parser issues in the docs Update getting-started.md --- docs/getting-started.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/getting-started.md b/docs/getting-started.md index 5b732c03..1e62818e 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -88,6 +88,10 @@ React.renderComponent( ); ``` +> Note: +> +> The comment parser is very strict right now, in order for it to pick up the `@jsx` modifier, two conditions are required. The `@jsx` comment block must be the first comment on the file. The comment must start with `/**` (`/*` and `//` will not work). If the parser can't find the `@jsx` comment, it will output the file without transforming it. + Update your HTML file as below: ```html{6,10}