@samitouri / QOS-React-2 / commits / 58901af7a6

Clarify wording in the tutorial

reactjs/react-tutorial#103

Ben Alpert committed Nov 24, 2015 at 09:30 UTC 58901af7a69f8c3ccd3460d4825f5b391d45c9e6
1 file changed +1 -1
docs/docs/tutorial.md
+1 -1
@@ -388,7 +388,7 @@ var CommentBox = React.createClass({
388 `getInitialState()` executes exactly once during the lifecycle of the component and sets up the initial state of the component.
389
390 #### Updating state
391 -When the component is first created, we want to GET some JSON from the server and update the state to reflect the latest data. We're going to use jQuery to make an asynchronous request to the server we started earlier to fetch the data we need. It will look something like this:
391 +When the component is first created, we want to GET some JSON from the server and update the state to reflect the latest data. We're going to use jQuery to make an asynchronous request to the server we started earlier to fetch the data we need. The data is already included in the server you started (based on the `comments.json` file), so once it's fetched, `this.state.data` will look something like this:
392
393 ```json
394 [