@tanstack/react-router 1.92.3 → 1.92.6

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.
@@ -632,7 +632,7 @@ class Router {
632
632
  const pathChanged = prevLocation.pathname !== next.pathname;
633
633
  this.cancelMatches();
634
634
  let pendingMatches;
635
- this.__store.batch(() => {
635
+ reactStore.batch(() => {
636
636
  pendingMatches = this.matchRoutes(next);
637
637
  this.__store.setState((s) => ({
638
638
  ...s,
@@ -671,7 +671,7 @@ class Router {
671
671
  let exitingMatches;
672
672
  let enteringMatches;
673
673
  let stayingMatches;
674
- this.__store.batch(() => {
674
+ reactStore.batch(() => {
675
675
  this.__store.setState((s) => {
676
676
  const previousMatches = s.matches;
677
677
  const newMatches = s.pendingMatches || s.matches;
@@ -1278,7 +1278,7 @@ class Router {
1278
1278
  ...activeMatchIds,
1279
1279
  ...this.state.cachedMatches.map((d) => d.id)
1280
1280
  ]);
1281
- this.__store.batch(() => {
1281
+ reactStore.batch(() => {
1282
1282
  matches.forEach((match) => {
1283
1283
  if (!loadedMatchIds.has(match.id)) {
1284
1284
  this.__store.setState((s) => ({