mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Wording change in doc (#7348)
This commit is contained in:
committed by
Paul O’Shannessy
parent
484f96bb61
commit
0805921883
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user