I need to tell you something: for my part I have always sworn by the separation of roles. I would not go back to HTML mixing structure and behavior, with invalid W3C attributes and poor source code. It kept me thinking that jQuery and Vanilla JS were safe bets.
But still. I ended up investigating AngularJS, after seeing it featured in another articles in my news feed. It turned out that the main drawbacks I reproached it could actually be solved with a little rigor. But why put so much effort into using the latest trendy tool, when jQuery had always done the job perfectly?
I partially understood the interest in using MVVM thanks to my personal investigations on Aurelia, React, and then Angular. But it seemed that I had just found the ultimate reason to drop jQuery thanks to the study of… Vue.js. I got the whole point of using it in a single afternoon of reading. And I can tell you that I only swear by this library now!
In short: jQuery is DOM-driven while Vue is data-driven. And that is the big difference!
IT ALL STARTED WITH JQUERY.
In order to keep up with the back-end, I obviously studied programming (actually Object-Oriented Programming) with Java at school and C# in my different jobs. These are languages that I respected for the rigor, the complexity and their philosophy of implementation. But jQuery was too versatile, elegant and simple not to stay my favorite. If I had to do something solid, it enabled me to do it. And unlike other back-end languages, jQuery was a perfect answer for more simple projects too.
jQuery had become so comfortable that it was hard for me to get away from it, and even imagine that other libraries could possibly do better.
With this fascinating revelation, I couldn’t have started a more complicated relationship with AngularJS!
ANGULARJS, NODE.JS, REACT, ANGULAR: ALL EGGS IN THE SAME BASKET?
THANKS VUE.JS FOR EXISTING!
Alongside AngularJS, there was also the discreet Vue.js. Unpretentious, yet fully able to compete with it. Simplicity, elegance; it stood out with a strong desire to be used in evolutionary and versatile ways. Its API was especially well defined: changing its internal mechanics in depth did not affect its external use during its transition from Vue 1.0 to Vue 2.0, giving it, among other things, a virtual DOM. AngularJS lost everyone, and forced most developers to TypeScript (not mandatory, but good luck without it!).
Vue.js is to Angular and React what jQuery is to Vanilla JS! So, if you’re still standing in your comfort zone with jQuery, defending your own position, convincing yourself that Angular and React have nothing to teach you, please give a chance to Vue. js. It will not take you more than half a day to appreciate its full potential.