@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
|
@@ -2174,12 +2174,11 @@ function createRouter(userOptions) {
|
|
|
2174
2174
|
const now = Date.now();
|
|
2175
2175
|
const matchPromises = resolvedMatches.map(async match => {
|
|
2176
2176
|
// Validate the match (loads search params etc)
|
|
2177
|
-
match.__.validate(); // If the match doesn't have a loader, don't attempt to load it
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
} // If this is a preload, add it to the preload cache
|
|
2177
|
+
match.__.validate(); // // If the match doesn't have a loader, don't attempt to load it
|
|
2178
|
+
// if (!match.hasLoaders()) {
|
|
2179
|
+
// return
|
|
2180
|
+
// }
|
|
2181
|
+
// If this is a preload, add it to the preload cache
|
|
2183
2182
|
|
|
2184
2183
|
|
|
2185
2184
|
if (loaderOpts != null && loaderOpts.preload && (loaderOpts == null ? void 0 : loaderOpts.maxAge) > 0) {
|