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.
Attached patch that changes the saving of old document from UIViewRoot to window scope.