Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jclem
· 6y ago · 0 comments
This is neat! Cool to encode the state in the URL, but it’s better to use replaceState rather than pushState for this. I don’t typically want every single change I make to add an entry to my browser history.
Comments
[–]
irshadshalu
6y ago
Made this change. Thank you!