Browse Source

Wording change in doc (#7348)

main
Veljko Tornjanski 8 years ago
committed by Paul O’Shannessy
parent
commit
ac1bb87249
  1. 2
      docs/05-reusable-components.md

2
docs/05-reusable-components.md

@ -132,7 +132,7 @@ var ComponentWithDefaultProps = React.createClass({
});
```
The result of `getDefaultProps()` will be cached and used to ensure that `this.props.value` will have a value if it was not specified by the parent component. This allows you to safely just use your props without having to write repetitive and fragile code to handle that yourself.
The result of `getDefaultProps()` will be cached and used to ensure that `this.props.value` will have a value if it was not specified by the owner component. This allows you to safely just use your props without having to write repetitive and fragile code to handle that yourself.
## Transferring Props: A Shortcut

Loading…
Cancel
Save