Skip to content

Replace axios with fetch #94

@AdamFipke

Description

@AdamFipke

Description

Apparently axios is kinda old or deprecated or something and we're supposed to be using fetch.

Also, we need to use fetch for any Next.js server components, and in doing so may help performance considerably for certain pages.

This may only require adjusting our index.ts for our API, but may require a lot more. Maybe look into it (even just searching up replacing axios with fetch).

https://www.reddit.com/r/nextjs/comments/14fse4d/is_using_axios_bad_for_a_nextjs_project/

https://medium.com/@johnnyJK/axios-vs-fetch-api-selecting-the-right-tool-for-http-requests-ecb14e39e285

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions