This project wraps React Router and provides util classes for easy intergration.
Here is the description from official ReactRouter
React Router is a collection of navigational components that compose declaratively with your application. Whether you want to have bookmarkable URLs for your web app or a composable way to navigate in React Native, React Router works wherever React is rendering--so take your pick!
CG.React.renderComponent(CG.ReactRouter.BrowserRouter, {
routes: [
{
component: SomeCompOfYours,
path: '/',
exact: true,
},
{
component: SomeCompOfYours1,
path: '/path1'
},
{
component: SomeCompOfYours2,
path: '/path2'
},
{
component: SomeCompOfYours,
path: '/*'
}
]
})