Skip to content

remove axios in favor of fetch#5497

Merged
adhami3310 merged 2 commits into
mainfrom
remove-axios-in-favor-of-fetch
Jun 26, 2025
Merged

remove axios in favor of fetch#5497
adhami3310 merged 2 commits into
mainfrom
remove-axios-in-favor-of-fetch

Conversation

@adhami3310
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Transitioning away from Axios dependency in favor of native browser APIs for HTTP requests and file uploads, reducing external dependencies while maintaining functionality.

  • Replaced Axios v1.9.0 with native fetch API in reflex/constants/installer.py for HTTP requests
  • Implemented XMLHttpRequest for file uploads in reflex/.templates/web/utils/state.js with enhanced progress tracking
  • Changes require verification of error handling patterns and request interceptors that were previously handled by Axios

2 files reviewed, no comments
Edit PR Review Bot Settings | Greptile

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Jun 25, 2025

CodSpeed Performance Report

Merging #5497 will not alter performance

Comparing remove-axios-in-favor-of-fetch (4fff4a9) with main (7b4df17)

Summary

✅ 8 untouched benchmarks

masenf
masenf previously approved these changes Jun 26, 2025
@adhami3310 adhami3310 merged commit 14bbfd1 into main Jun 26, 2025
40 of 41 checks passed
@adhami3310 adhami3310 deleted the remove-axios-in-favor-of-fetch branch June 26, 2025 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants