Skip to content

Commit 08c320d

Browse files
mrscobblergaearon
authored andcommitted
removing parent/child references in props section of tutorial (#7887)
1 parent 2b5c430 commit 08c320d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Notice how we're mixing HTML tags and components we've built. HTML components ar
181181

182182
### Using props
183183

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:
185185

186186
```javascript
187187
// tutorial4.js

0 commit comments

Comments
 (0)