// App.js render() { return ( <div> <h1> <Link to="/">Silly App</Link> </h1> {React.cloneElement(this.props.children, { ...this.props, key: undefined, ref: undefined, count: this.state.count })} </div> ) }