Working With AI: A Concrete Example
A regression in hyperscript 0.9.91 caused `fetch <url> as JSON` to bind `as` as a conversion expression on the URL.
A regression in hyperscript 0.9.91 caused `fetch <url> as JSON` to bind `as` as a conversion expression on the URL.
htmx 4.0 rebuilds the library's internals on fetch() instead of XMLHttpRequest, drawing on lessons from fixi.js, and makes three simplifying breaking changes: attribute inheritance becomes explicit via an :inherited modifier, history no longer snapshots the DOM locally but re-fetches content, and the event model is linearized with a new htmx:<phase>:<system> naming scheme.
Vendoring, copying a dependency's source directly into your repository, gives full dependency visibility, debuggability, auditable code and builds that don't resolve packages at deploy time.
Hypermedia-oriented web development has many implementations besides htmx, including Unpoly, the Triptych HTML spec proposals with a polyfill, fixi.js, Datastar, Nomini, µJS, Alpine AJAX, Hotwire Turbo, htmz, TwinSpark and jQuery's load().