Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(http): Run fetch request out the angular zone (#50981)
Having the request run in the angular zone has the consequence of triggering the CD for every read of the response stream. This commit wraps the whole `doRequest` to run outside angular with every callback on the observer being called inside the zone. Fixes #50979. PR Close #50981
- Loading branch information
1 parent
9258f3b
commit dea8dc0
Showing
1 changed file
with
31 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters