re: Writing a .parents() function using Vanilla JS VIEW POST

re: Great article ... All in all if you want pure DOM manipulation (not using React or Vue or whatever) then still nothing beats the jQuery API for el...

Don’t forget that web servers will compress files before transferring to client (usually gzipped), which practically means that the size of a text file will be around 1/3 - 1/4 or even less than its original size.


Well yes that's always the case when server gzip is enabled, regardless the type of resource (JS, CSS) or whether you use jQuery or another library, but having a smaller bundle size is beneficial anyway. I was just a little bit surprised when looking at the bundle size of jQuery and realizing that it isn't really much smaller than more full-featured libs like React or Vue.

Code of Conduct Report abuse