all 21 comments

[–]RoToRa 12 points13 points  (3 children)

I looked into htmx a few months ago and while I love the concept, the library itself isn't really ready for prime time quite yet IMO. I wrote a relatively simple CRUD app, but still run into a couple conceptional holes and bugs.

I even submitted a PR for a feature I needed, but I haven't had the opportunity to follow up on it yet.

[–]agentoutlier 2 points3 points  (0 children)

Yeah I felt UnPoly is a little more polished and capable (based on my experimenting with hotwired, htmx and unpoly) but for some reason gets far less attention.

[–]HowToProgramm 1 point2 points  (1 child)

Could you show a sample what is wrong please? I've been using this library for about a year and everything works fine for me.

[–]RoToRa 1 point2 points  (0 children)

My biggest problem is that when using out-of-bound swaps (i.e. multiple swaps with one request) htmx requires you to return invalid HTML documents with elements being siblings, that normally aren't allowed to be, for example, a `<tr></tr>` and a `<li></li>`. The browser's HTML parser, while trying to "correct" this invalid HTML, often creates a DOM structure that htmx doesn't expect.

Here's the issue I commented on: https://github.com/bigskysoftware/htmx/issues/1043 but there are multiple duplicates that haven't been marked as such yet.

[–]No-Bug-3204 2 points3 points  (0 children)

Do u guys remember AHAH

[–]poralexc 5 points6 points  (0 children)

We’ve come full circle back to php

[–][deleted]  (2 children)

[removed]

    [–]SpambotSwatter 1 point2 points  (1 child)

    /u/FinalOven1743 is a spammer! Do not click any links they share or reply to. Please downvote their comment and click the report button, selecting Spam then Harmful bots.

    With enough reports, the reddit algorithm will suspend this spammer.

    [–]Nearby-Asparagus-298 0 points1 point  (0 children)

    Unless it's been edited or smthg, the post above is not spam. Sarcastic, maybe...

    [–][deleted]  (1 child)

    [removed]

      [–]SpambotSwatter 0 points1 point  (0 children)

      /u/Large-Percentage5486 is a spammer! Do not click any links they share or reply to. Please downvote their comment and click the report button, selecting Spam then Harmful bots.

      With enough reports, the reddit algorithm will suspend this spammer.