I\'m having trouble overcoming an issue with react router. The scenario is that i need to pass children routes a set of props from a state parent component and route. wh
In child component, insted of
return {this.props.children}
You may merge props with parent
var childrenWithProps = React.cloneElement(this.props.children, this.props); return {childrenWithProps}