Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
xenic
· 2y ago · 0 comments
This isn’t something inherent to SPAs, though sadly many (most?) do omit the history api and don’t provide usable URLs nor back/forward navigation.
Comments
[–]
pimlottc
2y ago
It's somewhat inherent, as the URL will not change by default and it generally takes an intentional to implement sharable URLs.
[–]
throw10920
2y ago
"Somewhat inherent" isn't meaningful or correct. The fact is that there is a history API and you can use it to implement history for SPAs. Therefore, lack of history is not inherent to SPAs
by definition
. Intentionality has nothing to do with it.