defaultRoute=true attribute is not working in Dojo4 in case of StateHistory.Please see the code sandbox for this issue.
Link - https://codesandbox.io/s/oo014r8v8q
Package Version: Dojo 4.0.0
Code
import { StateHistory } from '@dojo/framework/routing/history/StateHistory';
Bug / Enhancement
defaultRoute=true attribute is not working in Dojo4 in case of StateHistory.Please see the code sandbox for this issue. Link - https://codesandbox.io/s/oo014r8v8q
Package Version: Dojo 4.0.0
Code
import { StateHistory } from '@dojo/framework/routing/history/StateHistory';
const routingConfig = [ { path: 'home', outlet: 'home', defaultRoute: true }, { path: 'form', outlet: 'form' } ];
const registry = new Registry(); start(); registerRouterInjector(routingConfig, registry, { HistoryManager: StateHistory });
const r = renderer(() => w(App, {})); r.mount({ registry });
Expected behavior:
Actual behavior: