-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Closed
Description
collection.js:183 Uncaught TypeError: list.reduce is not a function
Uncaught TypeError: list.reduce is not a function
System.registerDynamic.ListWrapper.reduce @ collection.js:183
splitAndFlattenLinkParams @ route_registry.js:250
System.registerDynamic.RouteRegistry.generate @ route_registry.js:127
System.registerDynamic.Router.generate @ router.js:169
System.registerDynamic.Object.defineProperty.set @ router_link.js:53
ChangeDetector_MyApp_comp_0.detectChangesInRecords @ VM48764:147
System.registerDynamic.AbstractChangeDetector._detectChanges @ abstract_change_detector.js:29
System.registerDynamic.AbstractChangeDetector._detectChangesInShadowDomChildren @ abstract_change_detector.js:50
System.registerDynamic.AbstractChangeDetector._detectChanges @ abstract_change_detector.js:33
System.registerDynamic.AbstractChangeDetector.detectChanges @ abstract_change_detector.js:24
System.registerDynamic.LifeCycle.tick @ life_cycle.js:87
System.registerDynamic.LifeCycle.registerWith.zone.initCallbacks.onTurnDone @ life_cycle.js:64
run @ zone-microtask.js:122
System.registerDynamic.NgZone._createInnerZone.zone.fork.fork.$run @ ng_zone.js:140
zoneBoundFn @ zone-microtask.js:95
29-alpha in 28-alpha code works
@View({
template: `
<router-outlet></router-outlet>
<a router-link="route1">route1</a>
<a router-link="route2">route2</a>
`,
directives: [RouterOutlet, RouterLink]
})
@RouteConfig([
// {path: "/", redirectTo: "/route1"},
{path: "/route1", component: Route1, as: "route1"},
{path: "/route2", component: Route2, as: "route2"}
])
class MyApp {
}
bootstrap(MyApp, [httpInjectables, routerInjectables])
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels