removing parent/child references in props section of tutorial (#7887)
Sophia committed
Oct 5, 2016 at 14:29 UTC
2a2dd7689f90bb18d3e732f068e7b030b2d2cc8f
1 file changed
+1
-1
docs/docs/tutorial.md
+1
-1
@@ -181,7 +181,7 @@ Notice how we're mixing HTML tags and components we've built. HTML components ar
181
182
### Using props
183
184
-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:
184
+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:
185
186
```javascript
187
// tutorial4.js