This seems like a fairly organized, but still jQuery-like approach without the cross-browser safety of jQuery. You're still doing manual DOM querying and state manipulating instead of something more declarative.
Gzipped and minified, Vue is just 20kb. It's so light weight that there's almost no reason not to use it for adding ad-hoc rich interactivity on a given page.
At my work, we are moving from polymer to lit, and lit is really nice by comparison. If I were starting something new, I’d look closer at hyperhtml as it has a lot of cool things not in lit (although I’m guessing viper is for SSR and PRPL could mitigate that for either library) - or lighterhtml could also be worth a look as that looks closer to what lit is.
80
u/phpdevster Sep 23 '19
This seems like a fairly organized, but still jQuery-like approach without the cross-browser safety of jQuery. You're still doing manual DOM querying and state manipulating instead of something more declarative.
Gzipped and minified, Vue is just 20kb. It's so light weight that there's almost no reason not to use it for adding ad-hoc rich interactivity on a given page.