Skip to content

Consider replacing fetch with Axios in ui-component #133

Description

@abdulrahmancodes

Currently, API calls in the ui-component package use the native fetch API. I'd like to propose switching to Axios for improved developer experience and maintainability.

Benefits

  • Built-in request/response transformation
  • Better error handling (throws for non-2xx responses)
  • Request/response interceptors for auth, logging, etc.
  • Cleaner cancellation support (with AbortController or Axios' own mechanism)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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