Lesson

Use React the cloneWithProps method to interact with child components

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.

Duration
3 min
Access
Free
Transcript
Available

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.