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.
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.
I am still convinced that a simpler solution would be possible: