Re:Web Components Will Outlive Your JavaScript Framework
by recursivedoubts on Wednesday October 25, 2023 @12:14PM
(#38014331)
that's great to hear and confirms my intuition that web components and htmx would go very well together
Re:Web Components Will Outlive Your JavaScript Framework
by synergy20 on Wednesday October 25, 2023 @03:34PM
(#38017205)
what about alpine.js, seems great to me and more natural(not mixing html and js behind the scene like some black magic)
both are really for SSR applications, a modern jQuery to some extent. For CSR(client side rendering), you still have to use react/vue/mithril/etc
The end result is that we can stick to Htmx's way of doing things, i.e. keeping all business logic state on the server, and only a few conservative things are client-side (such as currently focused element, text being typed in an input, things like that). Every step we take towards this, it offers a much better user experience with fewer bugs and race conditions, so it's worth the effort.