mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
2c6c67bee6
Previously, rollback recovery waited on hasValueOrResolved(), which checked whether the resource already had a value. This caused resources with values (e.g. defaultValue, existing values from prior navigations, or streamed emissions) to unfreeze prematurely while still in a loading state during rollback. This change updates the rollback recovery check in the transactional snapshot effect to be solely determined by !source.isLoading().