Open RCMax opened 9 years ago
This will have to take account of sub-routers if we decide to implement it.
This will have to take the snapshot of the page when the user leaves it and not when we arrive on a new page since the page may not be rendered and what we what we want is the state of the page at the last moment (think after paging a list).
On going...
on peut maintenant cacher le viewmodel pour une route. addRoute(bla bla bla, {cached:true}). Ceci dit, je ne crois pas que c'est très utilie pour l'instant. Il reste selon moi à
Ne pas oublier de valider qu'on a pas de problèmes dûent aux dispose!!!
A cached route (new setting on the route) would be cached by the router when a user navigates away so it can be "re-rendered" when the user comes back to the same URL.
Flow
Notes