Details
Description
Currently DOM diffing deosn't work during navigation because the old document is discarded together with the UIViewRoot corresponding to the previous view. To solve the issue the old document needs to be saved somewhere else such as in window scope or request map.
Also added @ViewRetained annotation which flags beans in View Scope to be propagated to the new viewMap if the view ID matches on the new view.