Moving from React to htmx
This again? From the first page of the documentation:<p><pre><code>    With that in mind, consider the following bit of HTML:

    &lt;button hx-post=&quot;&#x2F;clicked&quot;
      hx-trigger=&quot;click&quot;
      hx-target=&quot;#parent-div&quot;
      hx-swap=&quot;outerHTML&quot;
    &gt;
      Click Me!
    &lt;&#x2F;button&gt;
</code></pre>
We&#x27;ve been through this back in the Angular days (and even before that: remember Knockout?). Implementing your template language as DOM attributes does not make it HTML. Not to mention the examples using &quot;hyperscript&quot;, aka a &quot;human readable&quot; DSL for DOM manipulation and event handling also stuck in HTML attributes.<p>If you are a Python team, sure, avoiding JS is a good idea and tools like htmx which let you pretend you&#x27;re not working in multiple languages while having to memorize a massive API implemented in DSLs bolted onto DOM elements are fine. I&#x27;ve worked with these kinds of libraries in the past and once you can get over the knowledge gap, they can be amazing 80% solutions and solve most of your problems.<p>If you are either a &quot;full-stack&quot; JS (i.e. server + client written in JS) team or have more than one person specifically working on the frontend, this can just as likely be a massive footgun because you&#x27;re trading a widely used, well-understood tool with a massive community for a somewhat niche one with a much smaller (but hopefully more dedicated and helpful) community.<p>Sorry if my assessment of htmx comes across as sarcastic but TINSTAAFL and my criticism would equally apply if the talk was about moving from Angular or Vue. If having to write JS is a drain on your team&#x27;s resources and you can&#x27;t change that, yes, try moving away from JS even if it means going down a less travelled path.<p>EDIT: To be clear: one of the early selling points of React was &quot;it&#x27;s just JavaScript&quot;, referring to how most comparable tools would require you to learn their DSLs to do basic things like a loop. React allowing you to actually use a JavaScript `forEach` or build an array in your render function instead of having a `data-react-foreach` attribute or something like that on an element was a breath of fresh air as tools like AngularJS or Knockout required you to use those and were extremely inflexible because of it (e.g. if they wanted to support filtering they&#x27;d have to bake it into the DSL whereas in React you could just do an `if` or `.filter`).