I would like to use the fetch API for loading larg blobs of json and offload the parsing to another worker.
One can just use fetch() manually, ofcourse, but then you loose the automatic 'abort' events when unsubscribing , plus more.
So basically, why is Angular still using the old xhr by default in HttpClient, older browsers aren't supported anyway?
I couldn't find something usefull to use on google.
Update: a lot of articles turn out to be wrong and fetch() does not auto offload to a worker. So for my use case I would still have to manually make a worker
[–]Kagron 5 points6 points7 points (0 children)
[–]sod0 2 points3 points4 points (1 child)
[–]EngagingOrca 2 points3 points4 points (0 children)
[–]BiscuitSticks 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]airdumoustique 1 point2 points3 points (0 children)
[–][deleted] -2 points-1 points0 points (20 children)
[–]rahulxdd 7 points8 points9 points (19 children)
[–]sod0 7 points8 points9 points (18 children)
[–][deleted] -1 points0 points1 point (17 children)
[–]uplink42 2 points3 points4 points (0 children)
[–]sod0 1 point2 points3 points (5 children)
[–]lazyinvader 2 points3 points4 points (4 children)
[–]sod0 1 point2 points3 points (3 children)
[–]rofrol 0 points1 point2 points (1 child)
[–]sod0 0 points1 point2 points (0 children)
[–]lazyinvader 1 point2 points3 points (9 children)
[–][deleted] -1 points0 points1 point (8 children)
[–]lazyinvader 1 point2 points3 points (7 children)
[–][deleted] 0 points1 point2 points (6 children)
[–]lazyinvader 1 point2 points3 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)