I want to use routing outside where the router object is created. How can I do that ?
<div className="col-sm-2 hidden-xs sidebar-container-wrapper"> <Sidebar currentUrl={currentUrl}/> </div> <div className="col-sm-10 col-xs-12 groups-container-wrapper"> <Provider store={ this.myStore }> <Router history={ history } onUpdate={() => window.scrollTo(0, 0)}> { routes } </Router> </Provider> </div>