←back to thread

Less Htmx Is More

(unplannedobsolescence.com)
169 points fanf2 | 5 comments | | HN request time: 0.618s | source
Show context
chabska ◴[] No.43619770[source]
> In practice, this is virtually impossible to get right

Somehow every other JS frontend framework manages to hook into the History API just fine?

replies(5): >>43619808 #>>43619818 #>>43619832 #>>43619991 #>>43621102 #
1. mort96 ◴[] No.43619991[source]
The amount of times when I've clicked a link, hit the back button, nothing happens, I hit the back button again and I go 2 steps back in history...
replies(1): >>43620004 #
2. harvie ◴[] No.43620004[source]
Ever considered the website authors don't want you to go back? :-D
replies(3): >>43620013 #>>43620159 #>>43620292 #
3. leni536 ◴[] No.43620013[source]
I'm sure this move improves some engagement metric.
4. mort96 ◴[] No.43620159[source]
No I mean clicking a link that's part of the site's internal navigation. So like I'll click a link to go to a different part of the single-page application, then click the back button to get back to the previous place in the SPA, and the URL will change back but the page doesn't change.
5. sanitycheck ◴[] No.43620292[source]
More likely they didn't care and nobody wrote an automated test for it because that would be hard, no human testers are employed (because who even does that now?), and only two users got all the way through the labyrinthine process to report it as an issue so managers triaged the bug as wontfix.

I think this is industry standard practice in 2025, right?