ELSEIF
Your brief EB
369 stories from 141 feeds 702 clusters Refreshed 5 minutes ago next pull 21:43

TECH Signal 514 2 feeds carried it

htmx 4.0.0 released with explicit attribute inheritance and fetch() migration

The htmx team announced version 4.0.0, introducing explicit attribute inheritance, standardized events, and a switch from XMLHttpRequest to fetch().

WHY IT MATTERS

Engineers will need to adjust markup that relied on implicit attribute inheritance and update event listeners to the new naming scheme. The removal of localStorage-based history caching reduces edge-case bugs but may affect applications that depended on that behavior.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

Attributes are no longer inherited by default; developers must add ":inherited" to opt-in.

02

All htmx events now follow a standardized "htmx:phase:action" pattern, removing legacy event names.

03

History handling no longer uses localStorage by default, fetching pages on back navigation instead.

THE CLUSTER

Same story, 2 feeds.

ORDERED BY FIRST SEEN
htmx.org via Lobsters htmx 4.0.0 has been released Open ↗
htmx.org via Hacker News Htmx 4.0.0 has been released Open ↗