score:0

class Page extends React.Component {
   render() {
      console.log("PAGE:", this.props);
      return (
         <div>
            {this.props.children}
        </div>
      )
   }
}

score:2

<Route exact path="/" render={(props) => (
 <Home {...props} videosJson={this.props.data} />
)} />

Related Query

More Query from same tag