5 comments

  • htmxxx1 hour ago
    We already have the naughtiest htmx<p><a href="https:&#x2F;&#x2F;github.com&#x2F;bigguysoftware&#x2F;htmxxx" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bigguysoftware&#x2F;htmxxx</a>
  • sparse-Matrix11 hours ago
    Bravo! I never would have thought this would be so simple. As a direct consequence of this exercise: I now know something about what, precisely, htmx does.<p>cheers
  • wren69919 hours ago
    Huh, so every interactive event has a network request in the loop, with perceptible latency? And you still end up obligating client-side JS for the plumbing? I&#x27;d been meaning to look into HTMX but based on the content of this post it seems like a worst-of-all-worlds technical solution. Is it at least pleasant to work with?
    • yawaramin8 hours ago
      No, every interactive event doesn&#x27;t need to have a network request in the loop. And you only need a tiny bit of client-side JS for a most of the plumbing.<p>It is quite pleasant to work with, because you don&#x27;t have to worry about a constant stream of vulnerabilities or supply chain attacks. You just vendornthe script in your repo, add it as a &lt;script&gt; tag on the page, and you&#x27;re done.
    • dmoreno8 hours ago
      That&#x27;s why many times HTMX is used together with alpinejs [1].<p>For areas that need server side, if you use say react and return a JSON you have to deserialize and do the render. It might be much more efficient to just replace.<p>Having said that I use HTMX &#x2F;alpinejs for small projects, and still trust react for bigger more interactive ones.<p>[1] <a href="https:&#x2F;&#x2F;alpinejs.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;alpinejs.dev&#x2F;</a>
    • muvlon1 hour ago
      It&#x27;s for building extremely backend-brained frontend stuff, like a sort of anti-NextJS. Also like NextJS, this sort of domain-bending has some unfortunate operational consequences.
    • simonbarker871 hour ago
      It’s only has a network request in the loop if the interaction requires a network request.<p>Htmx is a replacement for network interactions, not every bit of UI interactivity.
    • inigyou1 hour ago
      the network is faster than so much shitty client-side JS these days.
      • grebc15 minutes ago
        When you say these days, I’d argue since mid&#x2F;late 2000’s for internet with a cable vs. radio waves.<p>Radio waves caught up in developed countries with 4G roll outs in my opinion(is that mid 2010’s?).<p>Large client side JS has been garbage for most things since it’s inception.
  • pixel_popping7 hours ago
    The Github link at the bottom contains a `,` char, might want to fix it.
  • andy_parhelia8 hours ago
    [flagged]
    • dang2 hours ago
      Can you please not post AI-generated or AI-edited comments to HN? It&#x27;s not allowed here - see <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html#generated">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html#generated</a> and <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=47340079">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=47340079</a>.<p>Of course, it&#x27;s impossible to know for sure what was LLM processed or not, but some of your posts (like this one) have been getting classified that way.