Why do we need to know pureJs when we have libraries & frameworks?
What is Vanilla Js?
Learning Vanilla Js is like building a house from scratch and not renting a house. You know everything about your house but in a rented house you just satisfy your requirements of having an accommodation.
Makes it easy to work with frameworks and libraries
This is much better for web performance than many other frameworks and libraries, as it is the most expensive and important part of the front-end stack. Vanilla js code needs to be compiled and parsed, unlike HTML and CSS files, which are available to use only when they're downloaded. A file of js with a size of 50kb has a much more significant impact on web performance than the same size of HTML and CSS files.