@tanstack/react-router 1.58.1 → 1.58.2

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.
@@ -865,7 +865,6 @@ class Router {
865
865
  isFetching: "loader",
866
866
  componentsPromise
867
867
  }));
868
- await route._lazyPromise;
869
868
  let loaderData = await ((_b2 = (_a2 = route.options).loader) == null ? void 0 : _b2.call(_a2, getLoaderContext()));
870
869
  if (this.serializeLoaderData) {
871
870
  loaderData = this.serializeLoaderData(
@@ -881,6 +880,7 @@ class Router {
881
880
  this.getMatch(matchId),
882
881
  loaderData
883
882
  );
883
+ await route._lazyPromise;
884
884
  await potentialPendingMinPromise();
885
885
  const meta = (_d = (_c2 = route.options).meta) == null ? void 0 : _d.call(_c2, {
886
886
  matches,