Why are there still no pushstate or replacestate events?

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.

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

2 Likes

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