@samitouri / QOS-React-2 / commits / 24c41b6849

Add backticks to highlight comment.json file name

Richard Wood committed Jul 8, 2015 at 10:16 UTC 24c41b6849e2652ad2e4d35a3fc1dd5bf0ac2664
1 file changed +1 -1
docs/docs/tutorial.md
+1 -1
@@ -374,7 +374,7 @@ var CommentBox = React.createClass({
374 `getInitialState()` executes exactly once during the lifecycle of the component and sets up the initial state of the component.
375
376 #### Updating state
377 -When the component is first created, we want to GET some JSON from the server and update the state to reflect the latest data. In a real application this would be a dynamic endpoint, but for this example we will keep things simple by creating a static JSON file public/comments.json containing the array of comments:
377 +When the component is first created, we want to GET some JSON from the server and update the state to reflect the latest data. In a real application this would be a dynamic endpoint, but for this example we will keep things simple by creating a static JSON file `public/comments.json` containing the array of comments:
378
379 ```javascript
380 // tutorial13.json