kit
    Preparing search index...
    • Here we extend and mutate the native window.history object so that multiple scripts can add url change handlers without interfering each other and using the same single listener.

      Parameters

      • handler: Handler

      Returns () => void

      A de-register function to remove the handler

      SO answer