Javascript – how to catch a location history change event
clarification - I do not want to catch any router change event inside NextJS. I want to catch them outside NextJS. I have an application written in NextJS, I have some code that is running outside the NextJS context. I…