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