@tanstack/react-router 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/router-core/build/esm/index.js +5 -6
- package/build/cjs/router-core/build/esm/index.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 +27 -27
- 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 +2 -2
package/build/esm/index.js
CHANGED
|
@@ -2205,12 +2205,11 @@ function createRouter(userOptions) {
|
|
|
2205
2205
|
const now = Date.now();
|
|
2206
2206
|
const matchPromises = resolvedMatches.map(async match => {
|
|
2207
2207
|
// Validate the match (loads search params etc)
|
|
2208
|
-
match.__.validate(); // If the match doesn't have a loader, don't attempt to load it
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
} // If this is a preload, add it to the preload cache
|
|
2208
|
+
match.__.validate(); // // If the match doesn't have a loader, don't attempt to load it
|
|
2209
|
+
// if (!match.hasLoaders()) {
|
|
2210
|
+
// return
|
|
2211
|
+
// }
|
|
2212
|
+
// If this is a preload, add it to the preload cache
|
|
2214
2213
|
|
|
2215
2214
|
|
|
2216
2215
|
if (loaderOpts != null && loaderOpts.preload && (loaderOpts == null ? void 0 : loaderOpts.maxAge) > 0) {
|