Show HN: Umbrella JS, a 2.5kb jQuery alternative
umbrellajs.com
Show HN: Umbrella JS, a 2.5kb jQuery alternative
1–10 of 79 posts
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#2It follows loosely a subset of jQuery methods, but it adds some others where relevant for common JS patterns (.handle() == .on() + e.preventDefault()) and the existing ones are generally more flexible.
[1] https://news.ycombinator.com/item?id=10954191
[2] https://npm-stat.com/charts.html?package=umbrellajs&from=201...
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#3I submitted this 3 years back [1] when I was starting. But now I think it's finished and well polished, so I am resubmitting it. I am happy to say that I don't normally find bugs anymore and the bug reports have slowed down while adoption has skyrocketed [2] [3] It follows loosely a subset of jQuery methods, but it adds some others where relevant for common JS patterns (.handle() == .on() + e.preventDefault()) and th…
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#4I submitted this 3 years back [1] when I was starting. But now I think it's finished and well polished, so I am resubmitting it. I am happy to say that I don't normally find bugs anymore and the bug reports have slowed down while adoption has skyrocketed [2] [3] It follows loosely a subset of jQuery methods, but it adds some others where relevant for common JS patterns (.handle() == .on() + e.preventDefault()) and th…
Looks interesting. How compatible with jquery is it? You say a subset, but is that an exact subset that would pass tests for those methods? Either way, well done!
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#5Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#6Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#7I 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.
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#8> It is strongly influenced by jquery...
Please use jQuery instead, thank you.
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#9I 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.
Vue and React make sense for large SPA-style applications, but I often find myself wanting to drop a few lines of JavaScript onto a page to implement something simple without pulling in a massive framework dependency that requires a webpack compile step.
Re: Show HN: Umbrella JS, a 2.5kb jQuery alternative
#10I 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.
Something like this may work fine for that purpose. There are still thousands or millions of websites that don't act like an SPA/