Re:jQuery 3.0 Release Candidate
by sotojuan on Tuesday May 24, 2016 @01:53PM
(#11763851)
The size. For a Node app, maybe not so bad (though I'd use node-fetch or got[1] which are smaller). For a browser app, loading all of superagent (which is almost 2 megabytes) just to make a few GET and POST calls is silly.
Never used axios but I've heard good things about it and its creator is awesome. I just use fetch because it does what I want.
Re:jQuery 3.0 Release Candidate
by icecube on Tuesday May 24, 2016 @02:22PM
(#11764178)
Wow, had no idea that request was so bloated. And thanks for mentioning got. I just checked it out and I think that is the lib I will be going with on the backend. I love the stream support, very cool.
Never used axios but I've heard good things about it and its creator is awesome. I just use fetch because it does what I want.
[1] https://github.com/sindresorhus/got