News for hackers. Stuff that matters.
Re:Vue 3 as the New Default by o_m on Monday February 07, 2022 @06:03PM (#30252721)
I recommend checking out Alpine.js which looks and feel like Vue 1. They don't have any ambition to be anything more than that.

https://alpinejs.dev/

Re:Vue 3 as the New Default by lbbenjohnston on Monday February 07, 2022 @06:49PM (#30253204)
Alpine actually uses the Vue reactivity model under the hood.

I like the idea of it but for what I work on the CSP non-compliance is a deal breaker (their CSP compatible build is not ready and you lose most of the alpine benefits).

https://alpinejs.dev/advanced/csp

I think that Stimulus JS offers many of the same benefits and provides a nice abstraction for making one 'element' contain multiple behaviours.

https://stimulus.hotwired.dev/

Re:Vue 3 as the New Default by newlisp on Monday February 07, 2022 @06:55PM (#30253244)
Re:Vue 3 as the New Default by mythz on Monday February 07, 2022 @08:46PM (#30254004)
Can attest to how great petite-vue is, which we used to build ServiceStack's new API Explorer:

https://docs.servicestack.net/api-explorer

Originally we started out with VanillaJS & hand-rolled MVC pattern however the productivity slowed as the App was getting larger, switching to petite-vue was a major productivity boost giving us a productive reactive UI, ability to componentize our App into modular components & resulted in the fastest UI we've seen in a client UI.