The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Use React the cloneWithProps method to interact with child components

Use React the cloneWithProps method to interact with child components

3:02
this.props.children allows child components to pass through, but in order to interact with or add new functionality to them React.addons provides cloneWithProps.
Watch this lesson now
Avatar
egghead.io

this.props.children allows child components to pass through, but in order to interact with or add new functionality to them React.addons provides cloneWithProps.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?