Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
I believe with angular the http module is the way to go with angular.
I guess you'll have to compare the benefits and disadvantages of several tools on the backend to decide which one to use 🤔
KorDarei103524dI'm a Vue guy myself, i found axios is a great combination with it.
but there is also a GOLDEN rule for me in JS, if a library is not absolutely necesary don't add it.
Devnergy621723dDon't know what to comment. Just picked a random picture on my phone
Use the framework. That’s what it’s for. Hundreds of really smart people made the decisions - for a reason. If you need to add in custom libraries... maybe it’s not the right framework for you. Also, fetch is native - so, why use axios(jQuery ajax) ?
KorDarei103523d@Devnergy you dirty dog :)
anyway... it won't happen with axios but i had a related situation with some composer package, i think it was for some qr codes. So naive as i was i pulled the damn thing and in every fucking document was QR code dependant from that package, and in development phase it worked... Later on it was time for a migration, i did a "composer install" and the fucking idiot did not only abandoned the package, but completely deleted it... so there i was, few days before the deadline with a GIGANTIC bug thruought the whole damn project... so... the less dependencies the less possible problems
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job