Y
Hacker News
new
|
ask
|
show
|
jobs
by
SquareWheel
60 days ago
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.
2 comments
HappMacDonald
60 days 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.
link
joquarky
60 days ago
That sounds like a design failure.
link
SquareWheel
60 days ago
Well, yes, but that's why it's behind an about:config flag and users should not enable it without understanding its effects.
link
DangitBobby
60 days ago
It's not, I don't know why you'd think that.
link