| ▲ | msl 2 hours ago | |||||||||||||
Forcing everyone to use ourFetch is rubbish, but forcing everyone to use axios is clean and elegant? You might want to elaborate just a little more. | ||||||||||||||
| ▲ | KronisLV 2 hours ago | parent [-] | |||||||||||||
ourFetch is more likely to be buggy, unmaintained, undocumented and nobody knows it well because the guy who wrote it left the org 2 years ago and so you have to waste time reading and maintaining it yourself. Axios is something where you get most of that work done for you by the community for free, and a lot of people know it. As long as you don’t get pwned due to it. Oh and you will actually find community packages that integrate with it, vs ourFetch, which again, nobody knows or even cares that it exists. Applies to web frameworks, databases and other types of software and dependencies - if you work with brilliant people, you might succeed rolling your own, but for most people taking something battle tested, something off the shelf is a pretty sane way to go about it. In this case it’s a relatively small dependency so it’s not the end of the world, but it’s the exact same principle. | ||||||||||||||
| ||||||||||||||