@samitouri / QOS-React-2 / commits / 2ac36178c6

Update homepage for new JSX/JS editor

Ben Alpert committed Jan 17, 2014 at 16:46 UTC 2ac36178c6dd547d5022b8b59bc3757deab18a49
1 file changed +7 -4
docs/index.md
+7 -4
@@ -39,8 +39,12 @@ id: home
39 React components implement a `render()` method that takes input data and
40 returns what to display. This example uses an XML-like syntax called
41 JSX. Input data that is passed into the component can be accessed by
42 - `render()` via `this.props`.<br />
43 - <strong>JSX is optional and not required to use React.</strong>
42 + `render()` via `this.props`.
43 + </p>
44 + <p>
45 + <strong>JSX is optional and not required to use React.</strong> Try
46 + clicking on "Compiled JS" to see the raw JavaScript code produced by
47 + the JSX compiler.
48 </p>
49 <div id="helloExample"></div>
50 </div>
@@ -50,8 +54,7 @@ id: home
54 In addition to taking input data (accessed via `this.props`), a
55 component can maintain internal state data (accessed via `this.state`).
56 When a component's state data changes, the rendered markup will be
53 - updated by re-invoking `render()`.<br />
54 - <strong>This example demonstrates use of React without JSX.</strong>
57 + updated by re-invoking `render()`.
58 </p>
59 <div id="timerExample"></div>
60 </div>