Alternatives to axios logo

Alternatives to axios

redux-saga, GraphQL, jQuery, Modernizr, and Modernizr are the most popular alternatives and competitors to axios.
513
212
+ 1
0

What is axios and what are its top alternatives?

It is a Javascript library used to make http requests from node.js or XMLHttpRequests from the browser and it supports the Promise API that is native to JS ES6.
axios is a tool in the Javascript Utilities & Libraries category of a tech stack.
axios is an open source tool with 79.4K GitHub stars and 7.5K GitHub forks. Here鈥檚 a link to axios's open source repository on GitHub

Top Alternatives to axios

  • redux-saga

    redux-saga

    An alternative side effect model for Redux apps

  • GraphQL

    GraphQL

    GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012. ...

  • jQuery

    jQuery

    jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML. ...

  • Modernizr

    Modernizr

    It鈥檚 a collection of superfast tests or detects as we like to call them which run as your web page loads, then you can use the results to tailor the experience to the user. It tells you what HTML, CSS and JavaScript features the user鈥檚 browser has to offer. ...

  • Modernizr

    Modernizr

    It鈥檚 a collection of superfast tests or detects as we like to call them which run as your web page loads, then you can use the results to tailor the experience to the user. It tells you what HTML, CSS and JavaScript features the user鈥檚 browser has to offer. ...

  • fancybox

    fancybox

    It is a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages. It is built on the top of the popular JavaScript framework jQuery and is both easy to implement and a snap to customize. ...

  • Lodash

    Lodash

    A JavaScript utility library delivering consistency, modularity, performance, & extras. It provides utility functions for common programming tasks using the functional programming paradigm. ...

  • Moment.js

    Moment.js

    A javascript date library for parsing, validating, manipulating, and formatting dates. ...

axios alternatives & related posts

redux-saga logo

redux-saga

321
244
6
An alternative side effect model for Redux apps
321
244
+ 1
6
PROS OF REDUX-SAGA
CONS OF REDUX-SAGA
    No cons available

    related redux-saga posts

    We had contemplated a long time which #JavascriptMvcFrameworks to use, React and React Native vs AngularJS and Apache Cordova in both web and mobile. Eventually we chose react over angular since it was quicker to learn, less code for simple apps and quicker integration of third party javascript modules. for the full MVC we added Redux.js for state management and redux-saga for async calls and logic. since we also have mobile app along with the web, we can shere logic and model between web and mobile.

    See more

    Choosing redux-saga for my async Redux.js middleware, for a React application, instead of the typical redux-thunk .

    Redux-saga is much easier to test than Redux-thunk - it requires no module mocking at all. Converting from redux-thunk to redux-saga is easy enough, as you are only refactoring the action creators - not your redux store or your react components. I've linked a github repo that shows the same solution with both, including Jest tests.

    See more

    related GraphQL posts

    Shared insights
    on
    Node.js
    GraphQL
    MongoDB

    I just finished the very first version of my new hobby project: #MovieGeeks. It is a minimalist online movie catalog for you to save the movies you want to see and for rating the movies you already saw. This is just the beginning as I am planning to add more features on the lines of sharing and discovery

    For the #BackEnd I decided to use Node.js , GraphQL and MongoDB:

    1. Node.js has a huge community so it will always be a safe choice in terms of libraries and finding solutions to problems you may have

    2. GraphQL because I needed to improve my skills with it and because I was never comfortable with the usual REST approach. I believe GraphQL is a better option as it feels more natural to write apis, it improves the development velocity, by definition it fixes the over-fetching and under-fetching problem that is so common on REST apis, and on top of that, the community is getting bigger and bigger.

    3. MongoDB was my choice for the database as I already have a lot of experience working on it and because, despite of some bad reputation it has acquired in the last months, I still believe it is a powerful database for at least a very long list of use cases such as the one I needed for my website

    See more
    Nick Rockwell
    SVP, Engineering at Fastly | 42 upvotes 路 1.4M views

    When I joined NYT there was already broad dissatisfaction with the LAMP (Linux Apache HTTP Server MySQL PHP) Stack and the front end framework, in particular. So, I wasn't passing judgment on it. I mean, LAMP's fine, you can do good work in LAMP. It's a little dated at this point, but it's not ... I didn't want to rip it out for its own sake, but everyone else was like, "We don't like this, it's really inflexible." And I remember from being outside the company when that was called MIT FIVE when it had launched. And been observing it from the outside, and I was like, you guys took so long to do that and you did it so carefully, and yet you're not happy with your decisions. Why is that? That was more the impetus. If we're going to do this again, how are we going to do it in a way that we're gonna get a better result?

    So we're moving quickly away from LAMP, I would say. So, right now, the new front end is React based and using Apollo. And we've been in a long, protracted, gradual rollout of the core experiences.

    React is now talking to GraphQL as a primary API. There's a Node.js back end, to the front end, which is mainly for server-side rendering, as well.

    Behind there, the main repository for the GraphQL server is a big table repository, that we call Bodega because it's a convenience store. And that reads off of a Kafka pipeline.

    See more

    related jQuery posts

    Ganesa Vijayakumar
    Full Stack Coder | Module Lead | 18 upvotes 路 1.9M views

    I'm planning to create a web application and also a mobile application to provide a very good shopping experience to the end customers. Shortly, my application will be aggregate the product details from difference sources and giving a clear picture to the user that when and where to buy that product with best in Quality and cost.

    I have planned to develop this in many milestones for adding N number of features and I have picked my first part to complete the core part (aggregate the product details from different sources).

    As per my work experience and knowledge, I have chosen the followings stacks to this mission.

    UI: I would like to develop this application using React, React Router and React Native since I'm a little bit familiar on this and also most importantly these will help on developing both web and mobile apps. In addition, I'm gonna use the stacks JavaScript, jQuery, jQuery UI, jQuery Mobile, Bootstrap wherever required.

    Service: I have planned to use Java as the main business layer language as I have 7+ years of experience on this I believe I can do better work using Java than other languages. In addition, I'm thinking to use the stacks Node.js.

    Database and ORM: I'm gonna pick MySQL as DB and Hibernate as ORM since I have a piece of good knowledge and also work experience on this combination.

    Search Engine: I need to deal with a large amount of product data and it's in-detailed info to provide enough details to end user at the same time I need to focus on the performance area too. so I have decided to use Solr as a search engine for product search and suggestions. In addition, I'm thinking to replace Solr by Elasticsearch once explored/reviewed enough about Elasticsearch.

    Host: As of now, my plan to complete the application with decent features first and deploy it in a free hosting environment like Docker and Heroku and then once it is stable then I have planned to use the AWS products Amazon S3, EC2, Amazon RDS and Amazon Route 53. I'm not sure about Microsoft Azure that what is the specialty in it than Heroku and Amazon EC2 Container Service. Anyhow, I will do explore these once again and pick the best suite one for my requirement once I reached this level.

    Build and Repositories: I have decided to choose Apache Maven and Git as these are my favorites and also so popular on respectively build and repositories.

    Additional Utilities :) - I would like to choose Codacy for code review as their Startup plan will be very helpful to this application. I'm already experienced with Google CheckStyle and SonarQube even I'm looking something on Codacy.

    Happy Coding! Suggestions are welcome! :)

    Thanks, Ganesa

    See more
    Kir Shatrov
    Engineering Lead at Shopify | 18 upvotes 路 393.8K views

    The client-side stack of Shopify Admin has been a long journey. It started with HTML templates, jQuery and Prototype. We moved to Batman.js, our in-house Single-Page-Application framework (SPA), in 2013. Then, we re-evaluated our approach and moved back to statically rendered HTML and vanilla JavaScript. As the front-end ecosystem matured, we felt that it was time to rethink our approach again. Last year, we started working on moving Shopify Admin to React and TypeScript.

    Many things have changed since the days of jQuery and Batman. JavaScript execution is much faster. We can easily render our apps on the server to do less work on the client, and the resources and tooling for developers are substantially better with React than we ever had with Batman.

    #FrameworksFullStack #Languages

    See more
    Modernizr logo

    Modernizr

    25.4K
    846
    0
    Respond to your user鈥檚 browser features
    25.4K
    846
    + 1
    0
    PROS OF MODERNIZR
      No pros available
      CONS OF MODERNIZR
        No cons available

        related Modernizr posts

        Modernizr logo

        Modernizr

        25.4K
        846
        0
        Respond to your user鈥檚 browser features
        25.4K
        846
        + 1
        0
        PROS OF MODERNIZR
          No pros available
          CONS OF MODERNIZR
            No cons available

            related Modernizr posts

            fancybox logo

            fancybox

            5.4K
            80
            0
            JavaScript lightbox library for presenting various types of media
            5.4K
            80
            + 1
            0
            PROS OF FANCYBOX
              No pros available
              CONS OF FANCYBOX
                No cons available

                related fancybox posts

                Lodash logo

                Lodash

                4K
                753
                1
                A JavaScript utility library
                4K
                753
                + 1
                1
                CONS OF LODASH
                  No cons available

                  related Lodash posts

                  Elemental UI Vue.js vuex Node.js ES6 ESLint lodash Webpack Yarn Git

                  See more
                  Moment.js logo

                  Moment.js

                  3.4K
                  232
                  0
                  A JavaScript date library for parsing, validating, manipulating, and formatting dates
                  3.4K
                  232
                  + 1
                  0
                  PROS OF MOMENT.JS
                    No pros available
                    CONS OF MOMENT.JS
                      No cons available

                      related Moment.js posts