4 ms·
At least with jQuery, I could at least understand what you were getting for all that performance cost. I haven't had a chance to work with React or Vue, but I
by commandlinefan 7y ago
At least with jQuery, I could at least understand what you were getting for all that performance cost. I haven't had a chance to work with React or Vue, but I did spend a lot of time working with Angular and I was always left scratching my head as to what benefit it was supposed to provide beyond making my pages take longer to develop, download and run.
- zachrose 7y agoIronically, the standard and nicer API that was jQuery’s value proposition has mostly already arrived in browsers.
- horsawlarway 7y agoYup, I can no longer recommend jquery at all unless you happen to need to support IE10 and below (and please, honestly, for the love of god, don't bother).
- marcosdumay 7y agoNah. Nowadays JQuery is a simple and small library with high-level abstractions and convenient synonyms for the standard in browser functionality. Unless you need IE support. If so you need a different version that is quite large.
- horsawlarway 7y agoEh... I still wouldn't recommend adding it to new projects. Why add a new framework that's mostly just a synonym for the standard browser functionality? I'm certainly not going to suggest you stop using it if you've already pulled it in (like you said, it's pretty tiny these days), but most times I just don't think it's worth it. More so if you're not already familiar with it.
- wolco 7y agoangularjs gives you something no other framework has. Two way binding. Change a variable in the frontend the backend changes. Change it in the backend the frontend changes.
- searchableguy 7y agoThat seems a bit misleading. Two way data binding simply means your changes are propagated from UI -> Model and Model -> UI Also vue, backbone and many others provide two way data binding. React is the cool pure kid. Some people might think of meteor js from your description.
- ibn-python 7y agoWas gonna comment this as well.
- wolco 7y agoI hope no one thinks of meteor js. I should have been more exact. AngularJS uses two-way binding between scopes, while Vue enforces a one-way data flow between components. This makes the flow of data easier to reason about in non-trivial applications.
- torartc 7y agoWhy do you hope no one thinks of meteor? It's a fantastic framework.