9 ms·
I happened to spend a little more time on htmx this weekend which htmz was inspired by. htmx/htmz does do well for simple use cases, htmx does well for SSR hea
by synergy20 3y ago
I happened to spend a little more time on htmx this weekend which htmz was inspired by.
htmx/htmz does do well for simple use cases, htmx does well for SSR heavy cases(e.g. django).
in the end I returned to vue.js, with a few lines code(put in a library) I can mimic htmx easily plus all the extra stuff vue.js brings, and no I do not need use a build tool for that, vuejs works fine via CDN inside a html for simple use cases the way htmx does, but vuejs can do more, e.g. draw live chart from data returned via ajax calls where vuejs is json by default, htmx is html by default instead.
- angra_mainyu 3y agoThis. I think Vue.js "scales down" excellently. You can just load it via the cdn and write some widgets and go about your day. In the past I've tried to make use of "microframeworks" like alpine.js and such but often found myself returning to Vue.js.
- niutech 3y agoHave a look at Petite Vue by Evan You.
- synergy20 3y agosame here, spent lots of time poking around, even tried svelte and react.js(heavily), and now firmly back to vue.js. vue.js does not mix SSR with SPA into one, make it much simpler compare to what React.js is doing today, and it provides way more than alpine.js and htmx etc, it's the best one in practice for me now.
- buremba 3y agoI also started with Vue and switched to React for work but still miss the simplicity of Vue. Sadly, it didn't take off as React.
- synergy20 3y agoReact has Meta behind it, Vue.js is a non profit project by individuals, very different, good news is that vue.js is good enough for serious projects nowadays and I especially like the fact that it does not mix SSR into SPA to make things complicated.