Is anyone actually still using jQuery in a new project? I can’t think of a single good reason to do so.
Show HN: Umbrella JS, a 2.5kb jQuery alternative
21–30 of 79 posts
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#22Is anyone actually still using jQuery in a new project? I can’t think of a single good reason to do so.
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 is very convenient for these kinds of things.
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#23Slightly 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.
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
#24Earlier quoted context omitted.
Spot on! I'm a ReactJS developer by trade, but when doing side projects, I still use jQuery from time to time, especially if the client is not that state-heavy. I know I can make do with fetch, querySelector/All and the like, but I'd rather take the convenience. Related: https://robots.thoughtbot.com/how-we-replaced-react-with-pho...
Yep, exactly. I use Umbrella JS (author here!) for most side projects. I only reach for React for SPA and state-heavy projects. These cases with jQuery (or Umbrella JS) is tricky because while you can do it with template strings, you don't get the modularity, build tools and it's difficult to protect against XSS. You have to be very, very careful with .html(...) and only for that reason sometimes React is worth it, s…
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#25Is anyone actually still using jQuery in a new project? I can’t think of a single good reason to do so.
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#26Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#27Slightly 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.
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#28Slightly 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
#29Slightly 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.
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#30This looks pretty great - I really like the look of Picnic, the author's lightweight (10KB) bootstrap alternative as well: https://github.com/franciscop/picnic