Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const routerConfig = (router: UIRouterReact) => { router.urlRouter.otherwise('/home'); trace.enable(1); };
State based routing for React