Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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