htmx

Evolve Your Web Interactions: htmx 4 Streamlines Data and DOM Updates

htmx 4 trades the aging XMLHttpRequest for the fetch() API, and that single move makes streaming data far more fluid.

4 min readInfoQ
Evolve Your Web Interactions: htmx 4 Streamlines Data and DOM Updates
From InfoQ

htmx 4 has been released, featuring a transition from XMLHttpRequest to the fetch() API, enhancing streaming capabilities. Key updates include built-in morphing swaps for DOM state preservation and an hx-partial tag for cleaner updates. Attribute inheritance is now explicit, with event names standardized. The library maintains focus on minimal JavaScript while remaining popular among frameworks.

Read the original at InfoQ