-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
StackRouter.of({
path: "/pages",
to: "/pages/page1",
routes: [
Route.of({
path: "/pages/page1",
build: (match, state, router) => new Page1(state.data, router)
}),
Route.of({
path: "/pages2/page3", // <-- There pages2
build: (match, state, router, view) => {
return new Page2(Object.assign({ place: 2 }, state.data), router);
}
})
]
}),This definition is not valid, also it should be possible. This is too prone to the Errors.
This item is important