In the following examples we look at how to control the current view using routes provided by react-router
- a-simple-route: simple route configuration with two views
- b-nested-route: more advanced routing example including nested routes
- c-programmatic-navigation: routing example using
history.push()
to programmatically control the views / route - d-simple-link-navigation: route navigation example using
Link
components - e-tabbed-link-navigation: route navigation example using
NavLink
components styled to look like tabs