Re:Show HN: Umbrella JS, a 2.5kb jQuery alternative
by throwawaysky9 on Sunday August 19, 2018 @11:22AM
(#17794611)
jQuery is 84 KB minimized, while Vue is 85 KB. Not much of a difference (although, granted, Umbrella JS is notably smaller). You don't necessarily need Webpack for Vue, you can just include Vue in a script tag and write your code.
[ Parent
| on HN ]
Re:Show HN: Umbrella JS, a 2.5kb jQuery alternative
by wild_preference on Sunday August 19, 2018 @01:35PM
(#17795263)
But it’s also about abstraction overhead. You wouldn’t bring in Vue to add a Select All button that checks a bunch of checkboxes.
You wouldn’t use jQuery/Umbrella for that either, but there might then exist a middleground where you would. e.g. any time you’re adding JS to an existing page but don’t want a whole component abstraction.
Re:Show HN: Umbrella JS, a 2.5kb jQuery alternative
by gremlinsinc on Sunday August 19, 2018 @06:26PM
(#17796522)
You might use VUE for that if you need it to work across pages/tabs and use a state/store like vuex to maintain the state of the checkboxes....or the react equivs...I mean you can use localStorage..but I prefer vuex.