4 ms·
To be fair, being used to full frameworks such as angular, you think that you have to do it in some kind of vue-way or react-way. I even made the mistake of usi
by narrowtux 8y ago
To be fair, being used to full frameworks such as angular, you think that you have to do it in some kind of vue-way or react-way. I even made the mistake of using a vue-specific HTTP library when I started. Only later I learned that Vue and react give you the freedom to do whatever you want.
- Too 8y agoGreat comment. Seeing all the hate Angular gets I think this is the biggest mistake people do when they use angular, they try to do everything the angular-way with an angular service for everything, like you say even getting a angular-specific HTTP library, wtf?! They should have just removed the whole concept of services to not confuse people. If you instead only use it as a view layer it is actually quite nice. Same with vue and react, you should only use it as a view layer, not build your entire business logic on top or around of it!