You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
redaxios also implements the AbortController, so we will finally be able to cancel our requests. This will be especially useful in React, where we could cancel pending requests, whenever the component unmounts.
What should the standard be for handling HTTP requests in your project?
There are multiple options:
Axios
Pros
Cons
Size: 13.4kB minified (https://bundlephobia.com/result?p=axios@0.20.0)
Fetch
Pros
Cons
Size: native
Redaxios
Pros
Cons
Size: 1.9kB minified (https://bundlephobia.com/result?p=redaxios@0.3.0)
The text was updated successfully, but these errors were encountered: