3 ms·
Htmx has been great. I reach for it in a lot on my projects. Although I have to admit that for my larger Django projects it gets a bit difficult to work with. C
by delbronski 2y ago
Htmx has been great. I reach for it in a lot on my projects. Although I have to admit that for my larger Django projects it gets a bit difficult to work with. Creating a url then a template then a view every time I need my page to change gets a bit repetitive and difficult to work with.
Alpine.js has never really clicked for me. Outside of anything simple I find myself struggling with the framework.
- tmnvix 2y agoI no longer default to creating a new or alternative view for returning html specifically for htmx. Sticking with existing views and using hx-select to select and swap content is totally fine most of the time.
- spapas82 2y agoYou can also try unpoly that works this way by default (use the same views/templates swapping only the parts that have changed)
- aitchnyu 2y agoFor my side project, I feel stack simplicity, error handling, "dont break back button" and eliminating many papercuts pulls me to HTMX, while Vue+TS offers type safety and model of "html is a function of state". I suspect more complex projects may make the stringly typed HTMX and Alpine less attractive.
- michaelyin 2y ago[dead]