Skip to content

Commit

Permalink
add tip for the important jsx convention
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
XuefengWu committed Sep 22, 2014
1 parent 9d7e3a7 commit 0ae09f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 0ae09f4

Please sign in to comment.