@tanstack/router-core 1.120.4-alpha.13 → 1.120.4-alpha.15
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/dist/cjs/router.cjs +4 -0
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/cjs/router.d.cts +1 -0
- package/dist/esm/router.d.ts +1 -0
- package/dist/esm/router.js +4 -0
- package/dist/esm/router.js.map +1 -1
- package/package.json +1 -1
- package/src/router.ts +6 -0
package/package.json
CHANGED
package/src/router.ts
CHANGED
|
@@ -844,6 +844,8 @@ export class RouterCore<
|
|
|
844
844
|
// router can be used in a non-react environment if necessary
|
|
845
845
|
startTransition: StartTransitionFn = (fn) => fn()
|
|
846
846
|
|
|
847
|
+
isShell = false
|
|
848
|
+
|
|
847
849
|
update: UpdateFn<
|
|
848
850
|
TRouteTree,
|
|
849
851
|
TTrailingSlashOption,
|
|
@@ -932,6 +934,10 @@ export class RouterCore<
|
|
|
932
934
|
'selector(:active-view-transition-type(a)',
|
|
933
935
|
)
|
|
934
936
|
}
|
|
937
|
+
|
|
938
|
+
if ((this.latestLocation.search as any).__TSS_SHELL) {
|
|
939
|
+
this.isShell = true
|
|
940
|
+
}
|
|
935
941
|
}
|
|
936
942
|
|
|
937
943
|
get state() {
|