←back to thread

Less Htmx Is More

(unplannedobsolescence.com)
169 points fanf2 | 1 comments | | HN request time: 0s | 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 #
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 #
harvie ◴[] No.43620004[source]
Ever considered the website authors don't want you to go back? :-D
replies(3): >>43620013 #>>43620159 #>>43620292 #
1. 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.