Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
SquareWheel
· 7mo ago · 0 comments
Single Page Applications use the History API to create a working back/forward history within the SPA. This will cause you to navigate away on use, and potentially lose data.
Comments
[–]
HappMacDonald
7mo ago
Why don't they just use # hash urls for their in-SPA page urls instead? That's what Elm and Elixir LiveView both do.
[–]
joquarky
7mo ago
That sounds like a design failure.
[–]
SquareWheel
OP
7mo ago
Well, yes, but that's why it's behind an about:config flag and users should not enable it without understanding its effects.
[–]
DangitBobby
7mo ago
It's not, I don't know why you'd think that.