-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Description
Consider the following:
router.map(
{
'/authorization': {
component: App.Authorization,
subRoutes:
{
'/': {
component: App.List,
name: 'list'
},
'/list': {
component: App.List,
name: 'list'
},
'/item/:id': {
component: App.ListItemDetails,
name: 'item-details'
}
});
refreshing the page at /authorization/list
route calls transitions hooks in the following order:
authorization activate
list activate
list data
authorization data
Shouldn't data be called in the reversed order, i.e. the same as activate hook? If this is by design, then could the docs be updates? So far nothing suggest that data is called in the reverse order to the authorization.
Metadata
Metadata
Assignees
Labels
No labels