12 ms·
Why is this the top-most comment when the user obviously didn’t know how to use HTMX?
by _HMCB_ 2mo ago
Why is this the top-most comment when the user obviously didn’t know how to use HTMX?
- james2doyle 2mo agoI used HTMX to serve my HTML partials. My HTML partials got too big. Not HTMXs fault. How do I fix that? Split them up? Use lazy loading? Pagination? That isn’t clear. I settled on a solution that gave me the least compromises while not abandoning the sprit of HTMX and HATEOAS. HTMX has a whole section on their site dedicated to reasons not to use HTMX: https://four.htmx.org/essays#counterpoints https://four.htmx.org/essays#counterpoints Alpine Ajax is actually promoted on their site as an alternative option but to stay within the HATEOAS universe: https://four.htmx.org/essays/alternatives#alpine-ajax https://four.htmx.org/essays/alternatives#alpine-ajax I tried building something more than a like-button or simple search. It wasn’t that easy to wrangle once it got more complicated.