mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
Update 06-transferring-props.md
This commit is contained in:
@@ -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 exposes a subset of the inner API, one that you know will work.
|
||||
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.
|
||||
|
||||
```javascript
|
||||
var FancyCheckbox = React.createClass({
|
||||
|
||||
Reference in New Issue
Block a user