From b15344de493c57ac248374b1f360b2c5ce0d66e3 Mon Sep 17 00:00:00 2001 From: XuefengWu Date: Mon, 22 Sep 2014 20:10:34 +0800 Subject: [PATCH] add tip for the important jsx convention I missed the convention and wast hours to figure out what's wrong. Add this tip in the document for who would miss the importance comment. --- docs/getting-started.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/getting-started.md b/docs/getting-started.md index 36c3a59b..049ece11 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -57,6 +57,8 @@ React.renderComponent( document.getElementById('example') ); ``` +> ```/** @jsx React.DOM */``` is must, or jsx would not convert. + Then reference it from `helloworld.html`: ```html{10}