@tanstack/react-router 0.0.1-beta.251 → 0.0.1-beta.253
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/route.js +1 -0
- package/build/cjs/route.js.map +1 -1
- package/build/esm/index.js +1 -0
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +357 -357
- package/build/umd/index.development.js +1 -1
- 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/src/route.ts +4 -0
|
@@ -207,7 +207,6 @@
|
|
|
207
207
|
|
|
208
208
|
// This function queues up a call to update the browser history
|
|
209
209
|
const queueHistoryAction = (type, destHref, state, onUpdate) => {
|
|
210
|
-
console.log(destHref);
|
|
211
210
|
const href = createHref(destHref);
|
|
212
211
|
if (!scheduled) {
|
|
213
212
|
rollbackLocation = currentLocation;
|
|
@@ -1133,6 +1132,7 @@
|
|
|
1133
1132
|
constructor(options) {
|
|
1134
1133
|
this.options = options || {};
|
|
1135
1134
|
this.isRoot = !options?.getParentRoute;
|
|
1135
|
+
invariant(!(options.id && options.path), `Route cannot have both an 'id' and a 'path' option.`);
|
|
1136
1136
|
this.$$typeof = Symbol.for('react.memo');
|
|
1137
1137
|
}
|
|
1138
1138
|
init = opts => {
|