@samitouri / QOS-React-2 / commits / 418c1fc427
Fork 0

The library for web and native user interfaces.

Add @jsx common parser issues in the docs

Update getting-started.md

Christopher Chedeau committed Jun 23, 2013 at 22:01 UTC 418c1fc42797fb36eb05f1b4b2090a5352f2ea58
1 file changed +4
docs/docs/getting-started.md
+4
@@ -88,6 +88,10 @@ React.renderComponent(
88 );
89 ```
90
91 +> Note:
92 +>
93 +> 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.
94 +
95 Update your HTML file as below:
96
97 ```html{6,10}