removing parent/child references in props section of tutorial (#7887)

This commit is contained in:
Sophia authored and Dan Abramov committed 2016-10-11 12:08:41 +01:00
1 parent 2b5c43029e
commit 08c320d047
1 file changed
+1 -1
+1 -1
View File
@@ -181,7 +181,7 @@ Notice how we're mixing HTML tags and components we've built. HTML components ar
### Using props
Let's create the `Comment` component, which will depend on data passed in from its parent, `CommentList`. Data passed in from a parent component is available as a 'property' on the child component. These 'properties' are accessed through `this.props`. Using props, we will be able to read the data passed to the `Comment` from the `CommentList`, and render some markup:
Let's create the `Comment` component, which will depend on data passed in from our `CommentList` component. Data passed in from the `CommentList` component is available as a 'property' on our `Comment` component. These 'properties' are accessed through `this.props`. Using props, we will be able to read the data passed to the `Comment` from the `CommentList`, and render some markup:
```javascript
// tutorial4.js