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.
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.
https://alpinejs.dev/