mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Merge pull request #4686 from lyip1992/patch-5
Update 06-transferring-props.md
(cherry picked from commit d5e5261e38)
This commit is contained in:
1 parent
f4dfb0a184
commit
1ba4023de0
1 file changed
+1
-1
@@ -24,7 +24,7 @@ The rest of this tutorial explains best practices. It uses JSX and experimental
|
||||
|
||||
## Manual Transfer
|
||||
|
||||
Most of the time you should explicitly pass the properties down. That ensures that you only expose a subset of the inner API, one that you know will work.
|
||||
Most of the time you should explicitly pass the properties down. This ensures that you only expose a subset of the inner API, one that you know will work.
|
||||
|
||||
```javascript
|
||||
var FancyCheckbox = React.createClass({
|
||||
|
||||
Reference in new issue
Block a user