@tanstack/react-router 0.0.1-beta.251 → 0.0.1-beta.252

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.
@@ -1133,6 +1133,7 @@
1133
1133
  constructor(options) {
1134
1134
  this.options = options || {};
1135
1135
  this.isRoot = !options?.getParentRoute;
1136
+ invariant(!(options.id && options.path), `Route cannot have both an 'id' and a 'path' option.`);
1136
1137
  this.$$typeof = Symbol.for('react.memo');
1137
1138
  }
1138
1139
  init = opts => {