@tanstack/router-core 0.0.1-beta.176 → 0.0.1-beta.177
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.js +6 -9
- package/build/cjs/router.js.map +1 -1
- package/build/esm/index.js +6 -9
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +123 -123
- package/build/types/router.d.ts +0 -1
- package/build/umd/index.development.js +6 -9
- 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 -10
|
@@ -899,7 +899,7 @@
|
|
|
899
899
|
};
|
|
900
900
|
#onFocus = () => {
|
|
901
901
|
if (this.options.refetchOnWindowFocus ?? true) {
|
|
902
|
-
this.
|
|
902
|
+
this.invalidate();
|
|
903
903
|
}
|
|
904
904
|
};
|
|
905
905
|
update = opts => {
|
|
@@ -1418,13 +1418,6 @@
|
|
|
1418
1418
|
});
|
|
1419
1419
|
await Promise.all(matchPromises);
|
|
1420
1420
|
};
|
|
1421
|
-
reload = () => {
|
|
1422
|
-
return this.navigate({
|
|
1423
|
-
fromCurrent: true,
|
|
1424
|
-
replace: true,
|
|
1425
|
-
search: true
|
|
1426
|
-
});
|
|
1427
|
-
};
|
|
1428
1421
|
resolvePath = (from, path) => {
|
|
1429
1422
|
return resolvePath(this.basepath, from, cleanPath(path));
|
|
1430
1423
|
};
|
|
@@ -1902,7 +1895,11 @@
|
|
|
1902
1895
|
});
|
|
1903
1896
|
}
|
|
1904
1897
|
if (opts?.reload ?? true) {
|
|
1905
|
-
return this.
|
|
1898
|
+
return this.navigate({
|
|
1899
|
+
fromCurrent: true,
|
|
1900
|
+
replace: true,
|
|
1901
|
+
search: true
|
|
1902
|
+
});
|
|
1906
1903
|
}
|
|
1907
1904
|
};
|
|
1908
1905
|
}
|