Skip to content

Commit 458bf35

Browse files
committed
Merge pull request #95 from martinhaluza/patch-1
typo fix
2 parents bb8e37e + 4ec4c93 commit 458bf35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/jekyll/getting-started/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ If you go to this URL in your browser, you should notice that the code has been
868868

869869
Server-side rendering means that your application initially renders the components on the server-side, rather than fetching data from the server and rendering using JavaScript. This enhances the performance of your application since the user will see the initial state immediately.
870870

871-
We need to make some motifications to `CommentBox` to support server-side rendering. Firstly, we need to accept an `initialData` prop, which will be used to set the initial state of the component, rather than doing an AJAX request. We also need to remove the `loadCommentsFromServer` call from `componentDidMount`, since it is no longer required.
871+
We need to make some modifications to `CommentBox` to support server-side rendering. Firstly, we need to accept an `initialData` prop, which will be used to set the initial state of the component, rather than doing an AJAX request. We also need to remove the `loadCommentsFromServer` call from `componentDidMount`, since it is no longer required.
872872

873873
```javascript{28}
874874
var CommentBox = React.createClass({

0 commit comments

Comments
 (0)