mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #17 from seiffert/master
Docs/Tutorial: Highlighting the correct line
This commit is contained in:
commit
7dd4576ee4
1 file changed
+1
-1
@@ -501,7 +501,7 @@ When a user submits a comment, we will need to refresh the list of comments to i
|
||||
|
||||
We need to pass data from the child component to its parent. We do this by passing a `callback` in props from parent to child:
|
||||
|
||||
```javascript{13-15,30}
|
||||
```javascript{13-15,32}
|
||||
// tutorial17.js
|
||||
var CommentBox = React.createClass({
|
||||
loadCommentsFromServer: function() {
|
||||
|
||||
Reference in new issue
Block a user