Skip to content

Tag: single-page-application

Detect an URL change in a SPA

I would like to listen to path changes in a SPA which is not maintained by me. I found one solution here: But still, it seems kind of “hacky” to me – but still my implementation is like this: Is there a better or more generic way to listen for page loads in a SPA? Answer This did