You may ask yourself : “What would I want that ? ”
Basically, if you are a data analyst in a web company you may want to understand what are the possibilities for your “data retriever” team. You want to understand, how affected are your data by the different method use.
Vanilla JS is the language on the rise actually. For a long time being, people were using a lot of library to realize “basic” action on the website. However as the website started to be more complex and HTML5 increased the possibility of pure JS, developer realized that it is actually better to realize those tasks directly in JS (so-called Vanilla JS) instead of loading-using a library on their website.
Yes, the event tracking (the most interesting part of our data for Online Website) require a tricky solution depending when and where you want it.
Here example of difference between onClick and onMouseDown :
Tap vs Click tracking & UX :
ontouch vs onclick :
The good part of Vanilla JS is that you can learn it pretty easily if you know HTML and some CSS. You’ll never be an expert but you can solve some easy problem on your own and better interact with your dev team.
This is very convenient as you want to go fast and there is no need to take care of the compatibility of the different browser. You can manipulate easily the DOM (as soon as the jQuery is loaded) and all about event triggering is a lot easier in this language.
As developer are always struggling to make the website faster, loading the library on the page take resources and bandwidth allocation. It starts to be necessary to require this library and as I said earlier; the improvement of JS and HTML5 make it less and less necessary, especially when new library arrived and have a better range of possibility.
This language /library is also easy to learn, so I would recommend learning it for the person that are actually comfortable with the pure JS.
It also takes some of React power by optimizing the rendering, changing only elements that are necessary to be changed in the rendering process.
I am not well aware of Vue possibility but if you are starting to learn JS and jQuery, I will definitely say that Vue should be the next on your list. The relative simplicity of its language combine with its power will definitely make it the language of the future. (For front-end developer)
Angular.js & React.js
Angular was developed in 2010 and React in 2013 (so new languages) and since then, they just grows a lot. It is mostly coming with his best friend Node.js but not only (Express.js, Angular.js itself, etc…).
Node.js / Express.js