Remix.run Logo
ninkendo 7 hours ago

Nit: please don’t push to my browser history every time I expand one of the sections… I had to press my browser’s back button a dozen or so times to get back out of your site.

drivers99 4 hours ago | parent | next [-]

You can also hold down the back button to get a menu of previous pages in order to skip multiple back button presses. (I still agree with your point and you might already know that. Maybe it helps someone.)

jesperordrup 6 hours ago | parent | prev [-]

Thanks. I'll look into that. It was recommended exactly for backtracking but I get that if you want to leave it's a whole lot of backpaddling :-)

chuckadams 3 hours ago | parent [-]

Use history.replaceState() instead of history.pushState() and you're all good.

jesperordrup 36 minutes ago | parent [-]

Thanks. It makes sense. I'll switch.