I have the following routing setup in React:I want to be able to access the methods and variables of Reports from ReportsIndex and ReportsIndex from Reports
The reason I want to do this is because Reports is a sidebar and ReportsIndex and they combine to make a single page.
They both display common information and when it is changed in one of them it needs to update the other - but there is no relationship between the pages.
Is this possible?
I am thinking something to do with this.props.router