alt-router
Setup
// your alt instance const routes = <Route path="/" component=App> <Route path="about" component=About /> <Route path="inbox" component=Inbox /> </Route> React
Changing routes
const changeRoute = { altrouter}
Bootstrap routes
For when you want to reload a user's entire application state including which route they were in
const bootstrapState = state: null pathname: '/notifications' alt