A partial archive of discourse.wicg.io as of Saturday February 24, 2024.

Why are there still no pushstate or replacestate events?

trusktr
2021-07-30

Having only popstate is half the feature, because often people want to also listen to history push and replace state events, leading to monkey patching of the history object or similar.

developit
2021-07-31

The new App History API has events that fire for these cases, and is fully interoperable with pushState.

collimarco
2021-08-03

I am still convinced that a simpler solution would be possible: