documentation
documentation copied to clipboard
[Bug]: Using axios or fetch in Angular is an antipattern
Link to the documentation page or resource
https://docs.strapi.io/developer-docs/latest/developer-resources/content-api/integrations/angular.html
Describe the bug
In the docs, you encourage users to use axios or fetch in Angular which is not common practice and can be misleading to users.
Angular has a built-in HTTP client service that should be used to make HTTP requests. It works much better with rxjs and can be intercepted, piped, and transformed.
Additional context
The path to the code: documentation/docs/developer-docs/latest/developer-resources/content-api/integrations/angular.md if somebody would search for that.
Suggested improvements or fixes
Using built-in HTTP client.
Related issue(s)/PR(s)
No response
Thank you for opening this issue @KonradLinkowski , and apologies for the late reply.
You probably are more experienced with Angular than I am 😅 Would you like to update that documentation yourself? Community contributions to the Strapi documentation are always welcome.
Feel free to use the various contribution resources below:
Thank you!
Closing this issue as it was fixed by user @sengokyu in PR #1628. Thank you very much! 🥳