Hi all and thanks for your time.
I see a tutorial with lynda.com for React.js. But, it used a old version of React. His code:
render: function(){
return (
<div>
<Header title={this.state.title} status={this.state.status}/>
<RouteHandler {...this.state} />
</div>
)
}
But i use a new version of React 15.2.1 and React-router 2.5.2. And i don't know how pass {...this.state} with {this.props.children}
render: function(){
return (
<div>
<Header title={this.state.title} status={this.state.status}/>
{this.props.children}
</div>
)
}
Thank you, everyone