PRO RSS Feed
We can utilize React.cloneElement in order to create new components with extended data or functionality.
The data contained in this.props.children is not always what you might expect. React provides React.children to allow for a more consistent development experience.
Higher order components will allow you to apply behaviors to multiple React components. This can be done by passing the state and any functions into components as props.