Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Transition from Axios to Fetch API #43

Open
rlajous opened this issue Jul 19, 2023 · 1 comment
Open

Transition from Axios to Fetch API #43

rlajous opened this issue Jul 19, 2023 · 1 comment
Labels
dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed

Comments

@rlajous
Copy link
Member

rlajous commented Jul 19, 2023

📃 Description

We are in the process of migrating from Axios to the Fetch API in an effort to improve the compatibility of our libraries and reduce external dependencies.

💡 Motivation

The aim is to adapt our library to use Fetch, a native API of modern browsers and also available in Node.js environments from certain versions onwards. This allows us to have a more lightweight and standardized solution.

🚀 Benefits

  1. Standardization: Using Fetch, built into most modern browsers, we promote standardization and reduce our reliance on third-party libraries.
  2. Lightweight: Eliminating the need for Axios significantly reduces the overall size of our library, resulting in faster load times.
  3. Future-proof: This transition makes our library more sustainable and future-proof as more developers adopt Fetch.

❗ Requirements

For the use of the Fetch API in a Node.js environment, our library now requires Node.js version X or later due to Fetch API compatibility from this version onwards.

🏁 Conclusion

This change aligns with our commitment to adapt to modern standards, optimize our libraries, and deliver a more robust and efficient tool for our users.

🗣️ Feedback

We would love to hear your feedback and suggestions about this transition. Also, are there other areas of improvement we could consider for future updates?

@rlajous rlajous added documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed dependencies Pull requests that update a dependency file labels Jul 19, 2023
@rlajous
Copy link
Member Author

rlajous commented Nov 21, 2023

We are still missing the ability to remove the dependency from moments.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant