#Why Did the Angular Team Develop `withFetch` Instead of Replacing HttpClient?
3 messages · Page 1 of 1 (latest)
Because imposing fetch to all the people using the previous XmlHttpRequest-based client could have caused a lot of issues. And because the XmlHttpRequest-based implementation supports some features that the fetch implementation doesn't support.
HttpClient is a the client part, where Fetch is a HttpBackend implementation. We initially had an XhrBackend but added the FetchBackend to improve SSR support. (Xhr is a browser API not provided by node).