Aurelia normally ignores any changes in the querystring.
It is possible to set the activationStrategy
to invoke-lifecycle
in the VM so it w
activationStrategy
is a property of RouterConfig
, which represents the route config object used by config.map()
. I think that you need to set it on each route definition.
Example:
configureRouter(config, router) {
...
config.map([
{
route: ['', 'home'],
name: 'home',
moduleId: 'home/index',
activationStrategy: 'invoke-lifecycle'
}
]);
...
}
(Edit reason: I've made a terrible mistake by misreading your question at first, sorry :))