Building progressively enhanced forms using Htmx

(rafa.ee)

32 points | by mpweiher 7 days ago ago

5 comments

  • yawaramin 10 minutes ago ago

    > Fiddling with out-of-band swaps to solve this feels error prone and overly hard to maintain.

    This is almost always because of using a string-based templating system. If you use a language-embedded HTML generation library, it represents HTML fragments as first-class values in your language, and you can compose them together in flexible ways. This makes out-of-band swaps very simple.

  • arthurcolle 2 hours ago ago

    Video doesn't seem to be rendering, has 0:00 and 0:00 as start and end times

    • QuantumNomad_ an hour ago ago

      Video codec is avc1. I think in Safari on iOS this codec is not available on iPhones older than iPhone 15 Pro.

    • watermelon0 2 hours ago ago

      Works for me in Firefox. It's h264/mp4.

      • pekim an hour ago ago

        And for me in Chrome.