@tanstack/router-core 0.0.1-alpha.7 → 0.0.1-alpha.8
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.
- package/build/cjs/packages/router-core/src/router.js +5 -6
- package/build/cjs/packages/router-core/src/router.js.map +1 -1
- package/build/esm/index.js +5 -6
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +132 -132
- package/build/umd/index.development.js +5 -6
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/router.ts +6 -4
|
@@ -2160,12 +2160,11 @@
|
|
|
2160
2160
|
const now = Date.now();
|
|
2161
2161
|
const matchPromises = resolvedMatches.map(async match => {
|
|
2162
2162
|
// Validate the match (loads search params etc)
|
|
2163
|
-
match.__.validate(); // If the match doesn't have a loader, don't attempt to load it
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
} // If this is a preload, add it to the preload cache
|
|
2163
|
+
match.__.validate(); // // If the match doesn't have a loader, don't attempt to load it
|
|
2164
|
+
// if (!match.hasLoaders()) {
|
|
2165
|
+
// return
|
|
2166
|
+
// }
|
|
2167
|
+
// If this is a preload, add it to the preload cache
|
|
2169
2168
|
|
|
2170
2169
|
|
|
2171
2170
|
if (loaderOpts != null && loaderOpts.preload && (loaderOpts == null ? void 0 : loaderOpts.maxAge) > 0) {
|