Angular.dev tutorial uses fetch
for HTTP requests, but this doesn't seem to work well with Interceptors
#53911
Labels
area: common/http
area: docs
Related to the documentation
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
state: has PR
Milestone
Describe the problem that you experienced
In the new tutorial for Angular 17 on https://angular.dev/, the Build your first Angular app tutorial uses the
fetch
api in the Add HTTP Communication section. However, as I am looking into building things like interceptors into my app, they don't seem to play well with the fetch API.Could a note be added about the downsides of using the fetch API? Or, if I am missing something about interceptors (and other features that are included with the HttpClient) can notes be added to the tutorial about how to use these features?
Enter the URL of the topic with the problem
https://angular.dev/tutorials/first-app/http
Describe what you were looking for in the documentation
More insight on the pros/cons of the
fetch
api vsHttpClient
Describe the actions that led you to experience the problem
Following the tutorial
Describe what you want to experience that would fix the problem
Better documentation
Add a screenshot if that helps illustrate the problem
No response
If this problem caused an exception or error, please paste it here
No response
If the problem is browser-specific, please specify the device, OS, browser, and version
No response
Provide any additional information here in as much as detail as you can
No response
The text was updated successfully, but these errors were encountered: