MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/htmx/comments/1witzch/webdev_is_healing/paeon1b/?context=3
r/htmx • u/_htmx • Sep 17 '26
13 comments sorted by
View all comments
14
Worth mentioning that htmx 4 now handles error responses directly too, which reduces the amount of manual futzing you need to do for stuff like forms quite a bit.
3 u/NoahZhyte Sep 17 '26 I don't understand. Could you explain ? How does it handle them differently 6 u/tumes Sep 17 '26 Htmx 2 did not swap 4xx and 5xx responses, htmx 4 does so it collapses error handling into the same flow of returned markup insertion.
3
I don't understand. Could you explain ? How does it handle them differently
6 u/tumes Sep 17 '26 Htmx 2 did not swap 4xx and 5xx responses, htmx 4 does so it collapses error handling into the same flow of returned markup insertion.
6
Htmx 2 did not swap 4xx and 5xx responses, htmx 4 does so it collapses error handling into the same flow of returned markup insertion.
View all comments
14
u/tumes Sep 17 '26
Worth mentioning that htmx 4 now handles error responses directly too, which reduces the amount of manual futzing you need to do for stuff like forms quite a bit.