YOU ARE VIEWING ONE ITEM FROM THE AICRIER FEED

htmx 4.0 ships fetch, streaming, hx-live

AICrier tracks AI developer news across Product Hunt, GitHub, Hacker News, YouTube, X, arXiv, and more. This page keeps the article you opened front and center while giving you a path into the live feed.

// WHAT AICRIER DOES

7+

TRACKED FEEDS

24/7

SCRAPED FEED

Short summaries, external links, screenshots, relevance scoring, tags, and featured picks for AI builders.

htmx 4.0 ships fetch, streaming, hx-live
OPEN LINK ↗
// 58m agoOPENSOURCE RELEASE

htmx 4.0 ships fetch, streaming, hx-live

htmx 4.0.0 is now available after eight months of development, replacing XMLHttpRequest with fetch and adding morph swaps, streaming extensions, and the hx-live scripting layer. The release preserves htmx’s HTML-first model while introducing explicit inheritance and other migration-sensitive changes.

// ANALYSIS

htmx 4 is a meaningful evolution of server-driven UI, but its biggest win is architectural cleanup rather than flashy new capability.

  • fetch-based internals make streaming, downloads, WebSockets, and multipart responses more coherent
  • Explicit attribute inheritance should reduce surprising DOM behavior, though it creates real upgrade work
  • Built-in morph swaps and hx-partial improve complex partial-page updates without requiring a SPA framework
  • hx-live gives htmx users a lightweight alternative for client-side reactivity alongside Alpine.js
  • npm keeps htmx 2.x as latest until 2027, reducing accidental upgrades for unpinned CDN users
// TAGS
htmx-4.0.0open-sourceframeworkdevtoolapi

DISCOVERED

58m ago

2026-08-30

PUBLISHED

58m ago

2026-08-30

RELEVANCE

5/ 10