News for hackers. Stuff that matters.
Re:HTML Web Components by jonahx on Monday November 13, 2023 @09:59PM (#38258473)
> Every alternative to the big frameworks (looking at you htmlx) feel like minor syntaxic sugar for jQuery

Have you used htmx? Since it doesn't solve the same problem jquery did (UX for client side JS), the accusation is misplaced. htmx is (primarily) a way of avoiding writing JS by extending the server-side rendered html paradigm to partial pages instead of full page re-loads.

Re:HTML Web Components by bluewalt on Monday November 13, 2023 @11:39PM (#38259256)
I think he knows that. The comparison with jQuery comes from the fact it is a DOM replacement logic too. Even if the syntax is way better, in the end, it’s still a way of working that scales badly, compared to components which embed their own logic.

htmx shines to add dynamic behaviour on some pages, but is not appropriate to replace a medium-sized SPA in my opinion.

Re:HTML Web Components by dreadnip on Tuesday November 14, 2023 @05:55AM (#38261683)
I personally think htmx augmenting a MPA approach is perfect for medium-sized apps.