Skip to content

Commit

Permalink
Update homepage for new JSX/JS editor
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiebits committed Jan 18, 2014
1 parent 17de856 commit 2ac3617
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,12 @@ id: home
React components implement a `render()` method that takes input data and
returns what to display. This example uses an XML-like syntax called
JSX. Input data that is passed into the component can be accessed by
`render()` via `this.props`.<br />
<strong>JSX is optional and not required to use React.</strong>
`render()` via `this.props`.
</p>
<p>
<strong>JSX is optional and not required to use React.</strong> Try
clicking on "Compiled JS" to see the raw JavaScript code produced by
the JSX compiler.
</p>
<div id="helloExample"></div>
</div>
Expand All @@ -50,8 +54,7 @@ id: home
In addition to taking input data (accessed via `this.props`), a
component can maintain internal state data (accessed via `this.state`).
When a component's state data changes, the rendered markup will be
updated by re-invoking `render()`.<br />
<strong>This example demonstrates use of React without JSX.</strong>
updated by re-invoking `render()`.
</p>
<div id="timerExample"></div>
</div>
Expand Down

0 comments on commit 2ac3617

Please sign in to comment.