@jsenv/navi 0.27.56 → 0.27.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14691,7 +14691,7 @@ const setupBrowserIntegrationViaHistory = ({
14691
14691
  url,
14692
14692
  {
14693
14693
  reason,
14694
- navigationType, // "push", "reload", "replace", "traverse"
14694
+ navigationType, // "load", "reload", "replace", "push", "traverse"
14695
14695
  state,
14696
14696
  },
14697
14697
  ) => {
@@ -14719,7 +14719,7 @@ const setupBrowserIntegrationViaHistory = ({
14719
14719
  }
14720
14720
 
14721
14721
  // Routes only match on URL — skip route matching for state-only changes.
14722
- if (isSameUrl && navigationType !== "reload") {
14722
+ if (isSameUrl && navigationType !== "reload" && navigationType !== "load") {
14723
14723
  return undefined;
14724
14724
  }
14725
14725
 
@@ -14842,7 +14842,7 @@ const setupBrowserIntegrationViaHistory = ({
14842
14842
  const state = history.state;
14843
14843
  handleRoutingTask(url, {
14844
14844
  reason: "routing initialization",
14845
- navigationType: "replace",
14845
+ navigationType: "load",
14846
14846
  state,
14847
14847
  });
14848
14848
  };