Is anyone actually still using jQuery in a new project? I can’t think of a single good reason to do so.
jQuery is a library of shortcuts. Everything you can do using jQuery you can do without jQuery, but that's like saying everything you can do in Excel you can do with just a Calculator app. Yes, it is possible, but why would you want to? When you do things like drag & drop and interactive resize you have to query DOM to get position and sizes, and perform hit detection, and you have to manipulate DOM directly. jQuery…
Show HN: Umbrella JS, a 2.5kb jQuery alternative
31–40 of 79 posts
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#32Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#33Slightly off topic, but I have this OCD that my brain hurts when I see people use wrong capitalization for products. > It is strongly influenced by jquery... Please use jQuery instead, thank you.
English is my 3rd language so please forgive some typos and inaccuracies like these. I understand that these are similar for some people as when I see people using "their" when they mean "they're". I agree it looks less professional, so I'll try fixing those. Is there any other bit that sounds off? Edit: That should be fixed! Also a couple of missing `css` => `CSS`, `umbrella` => `Umbrella`, etc.
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#34IIRC, one of the main selling point of jQuery is compatibility with browsers like IE6.
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#35How does it fare when it comes to browser compatibility? IIRC, one of the main selling point of jQuery is compatibility with browsers like IE6.
Umbrella JS supports Internet Explorer 11+, with some of the known bugs and wont-fix here: https://github.com/franciscop/umbrella#support-ie11
There is a polyfill to help here: https://github.com/franciscop/umbrella/blob/master/polyfill....
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#36This looks pretty great - I really like the look of Picnic, the author's lightweight (10KB) bootstrap alternative as well: https://github.com/franciscop/picnic
Thanks! I have two other libraries (besides Umbrella JS) that I really care about: Picnic CSS [1] and Server.js [2]. I'll be trying to do some cleaning in my spare time, but both of those require humongous amounts of work to get to the quality level of Umbrella JS. [1] https://picnicss.com/ [2] https://serverjs.io/
1. I went by the name and typed picniccss.com instead of picnicss.com and it didn't work. picnic-es-es does sound weird in one's head too.
2. On the website, you say '10kb' but should probably use '10kB'. The small-b is conventionally used to indicate bits and the capital-b is used to indicate bytes.
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#37I don't want to be "that guy", but haven't most people moved on to something like Vue instead of manipulating the DOM directly? Every developer I've worked with learned the basics of Vue quickly (less than a day) and marveled at how great it was compared to manipulating the DOM through jQuery (or something similar like Umbrella JS). But sure, there are edge cases where jQuery and similar libs still serve a purpose.
According to this website [1] jQuery is still used by over 70% of websites. I have built production sites in extjs, Dojo, Angular, React etc. but nothing beats the fun of throwing up a quick website in jQuery and Bootstrap. Its even more fun with es6 now! I am looking forward to where jQuery and other DOM manipulation libraries go in the future. [1] https://w3techs.com/technologies/details/js-jquery/all/all
I suspect that if you refined it to "How many new websites in the last year use jQuery as their primary UI library?", the number would be much lower.
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#38Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#39Slightly off topic, but I have this OCD that my brain hurts when I see people use wrong capitalization for products. > It is strongly influenced by jquery... Please use jQuery instead, thank you.
“Ugh, it’s ‘Lego’, not ‘legos’! ‘jQuery’, not ‘jquery’!”
IMO the world needs more people who don’t give a shit.
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#40Slightly off topic, but I have this OCD that my brain hurts when I see people use wrong capitalization for products. > It is strongly influenced by jquery... Please use jQuery instead, thank you.
The phrase you are looking for is "pet peeve".
https://en.wikipedia.org/wiki/Obsessive%E2%80%93compulsive_d...