Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Remove axios dependency #577

Merged
merged 2 commits into from
Aug 27, 2024
Merged

Remove axios dependency #577

merged 2 commits into from
Aug 27, 2024

Conversation

acasazza
Copy link
Member

@acasazza acasazza commented Aug 23, 2024

This pull request removes the axios dependency from the project and refactors all HTTP requests to use the native Fetch API. The motivation behind this change is to reduce the bundle size and eliminate an unnecessary dependency, as modern browsers provide built-in support for HTTP requests via the Fetch API.

@acasazza acasazza added the bug Something isn't working label Aug 23, 2024
@acasazza acasazza self-assigned this Aug 23, 2024
Copy link

netlify bot commented Aug 23, 2024

Deploy Preview for commercelayer-react-components ready!

Name Link
🔨 Latest commit 467410c
🔍 Latest deploy log https://app.netlify.com/sites/commercelayer-react-components/deploys/66cda2f10227790008feaa1b
😎 Deploy Preview https://deploy-preview-577--commercelayer-react-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@acasazza acasazza marked this pull request as ready for review August 27, 2024 09:57
@acasazza acasazza merged commit a7c1bb3 into main Aug 27, 2024
4 checks passed
@acasazza acasazza deleted the fix/remove-axios branch August 27, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants