diff --git a/docs/framework/react/start/getting-started.md b/docs/framework/react/start/getting-started.md
index 159100cd39..ccb6085f5a 100644
--- a/docs/framework/react/start/getting-started.md
+++ b/docs/framework/react/start/getting-started.md
@@ -179,12 +179,7 @@ import { createRouter } from './router'
const router = createRouter()
-const root = document.getElementById('root')
-if (!root) {
- throw new Error('Root element not found')
-}
-
-hydrateRoot(root, )
+hydrateRoot(document, )
```
This enables us to kick off client-side routing once the user's initial server request has fulfilled.
diff --git a/examples/react/authenticated-routes/package.json b/examples/react/authenticated-routes/package.json
index 45edee8644..04c5774755 100644
--- a/examples/react/authenticated-routes/package.json
+++ b/examples/react/authenticated-routes/package.json
@@ -9,9 +9,9 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-default-search-params/package.json b/examples/react/basic-default-search-params/package.json
index e3be9c6c18..ebc457bb83 100644
--- a/examples/react/basic-default-search-params/package.json
+++ b/examples/react/basic-default-search-params/package.json
@@ -10,8 +10,8 @@
},
"dependencies": {
"@tanstack/react-query": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
"redaxios": "^0.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/examples/react/basic-file-based-codesplitting/package.json b/examples/react/basic-file-based-codesplitting/package.json
index f8cb04ebaf..04de7fbcd2 100644
--- a/examples/react/basic-file-based-codesplitting/package.json
+++ b/examples/react/basic-file-based-codesplitting/package.json
@@ -9,9 +9,9 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-file-based/package.json b/examples/react/basic-file-based/package.json
index 61732e34c9..dd150f6e9f 100644
--- a/examples/react/basic-file-based/package.json
+++ b/examples/react/basic-file-based/package.json
@@ -9,9 +9,9 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-react-query-file-based/package.json b/examples/react/basic-react-query-file-based/package.json
index c374681c67..0365df8d67 100644
--- a/examples/react/basic-react-query-file-based/package.json
+++ b/examples/react/basic-react-query-file-based/package.json
@@ -11,9 +11,9 @@
"dependencies": {
"@tanstack/react-query": "^5.59.20",
"@tanstack/react-query-devtools": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-react-query/package.json b/examples/react/basic-react-query/package.json
index 01c584ec23..00977f2a11 100644
--- a/examples/react/basic-react-query/package.json
+++ b/examples/react/basic-react-query/package.json
@@ -11,8 +11,8 @@
"dependencies": {
"@tanstack/react-query": "^5.59.20",
"@tanstack/react-query-devtools": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/basic-ssr-file-based/package.json b/examples/react/basic-ssr-file-based/package.json
index f435abc355..7d733106e0 100644
--- a/examples/react/basic-ssr-file-based/package.json
+++ b/examples/react/basic-ssr-file-based/package.json
@@ -11,10 +11,10 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
- "@tanstack/start": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
+ "@tanstack/start": "^1.81.8",
"get-port": "^7.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/examples/react/basic-ssr-streaming-file-based/package.json b/examples/react/basic-ssr-streaming-file-based/package.json
index e4de3409f5..636247eaf4 100644
--- a/examples/react/basic-ssr-streaming-file-based/package.json
+++ b/examples/react/basic-ssr-streaming-file-based/package.json
@@ -11,10 +11,10 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
- "@tanstack/start": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
+ "@tanstack/start": "^1.81.8",
"get-port": "^7.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/examples/react/basic-virtual-file-based/package.json b/examples/react/basic-virtual-file-based/package.json
index e181080fb7..8eb5cbfe89 100644
--- a/examples/react/basic-virtual-file-based/package.json
+++ b/examples/react/basic-virtual-file-based/package.json
@@ -9,10 +9,10 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
- "@tanstack/virtual-file-routes": "^1.64.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
+ "@tanstack/virtual-file-routes": "^1.81.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-virtual-inside-file-based/package.json b/examples/react/basic-virtual-inside-file-based/package.json
index 000eae0281..37847bb405 100644
--- a/examples/react/basic-virtual-inside-file-based/package.json
+++ b/examples/react/basic-virtual-inside-file-based/package.json
@@ -9,10 +9,10 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
- "@tanstack/virtual-file-routes": "^1.64.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
+ "@tanstack/virtual-file-routes": "^1.81.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json
index 7b19e9322f..0ff939852d 100644
--- a/examples/react/basic/package.json
+++ b/examples/react/basic/package.json
@@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/deferred-data/package.json b/examples/react/deferred-data/package.json
index 5ce2098fad..5e808165bd 100644
--- a/examples/react/deferred-data/package.json
+++ b/examples/react/deferred-data/package.json
@@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
"redaxios": "^0.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/examples/react/kitchen-sink-file-based/package.json b/examples/react/kitchen-sink-file-based/package.json
index c6c1aa057b..f47c08707d 100644
--- a/examples/react/kitchen-sink-file-based/package.json
+++ b/examples/react/kitchen-sink-file-based/package.json
@@ -9,9 +9,9 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"immer": "^10.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/examples/react/kitchen-sink-react-query-file-based/package.json b/examples/react/kitchen-sink-react-query-file-based/package.json
index 6596023e26..110d0dcdd7 100644
--- a/examples/react/kitchen-sink-react-query-file-based/package.json
+++ b/examples/react/kitchen-sink-react-query-file-based/package.json
@@ -11,9 +11,9 @@
"dependencies": {
"@tanstack/react-query": "^5.59.20",
"@tanstack/react-query-devtools": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"immer": "^10.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/examples/react/kitchen-sink-react-query/package.json b/examples/react/kitchen-sink-react-query/package.json
index 99daca7967..999bb8712c 100644
--- a/examples/react/kitchen-sink-react-query/package.json
+++ b/examples/react/kitchen-sink-react-query/package.json
@@ -11,8 +11,8 @@
"dependencies": {
"@tanstack/react-query": "^5.59.20",
"@tanstack/react-query-devtools": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
"redaxios": "^0.5.1",
"immer": "^10.1.1",
"react": "^18.2.0",
diff --git a/examples/react/kitchen-sink/package.json b/examples/react/kitchen-sink/package.json
index f5f76c5a71..7987bb372e 100644
--- a/examples/react/kitchen-sink/package.json
+++ b/examples/react/kitchen-sink/package.json
@@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
"redaxios": "^0.5.1",
"immer": "^10.1.1",
"react": "^18.2.0",
diff --git a/examples/react/large-file-based/package.json b/examples/react/large-file-based/package.json
index 93a93034e7..fbc88249ba 100644
--- a/examples/react/large-file-based/package.json
+++ b/examples/react/large-file-based/package.json
@@ -12,9 +12,9 @@
},
"dependencies": {
"@tanstack/react-query": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/location-masking/package.json b/examples/react/location-masking/package.json
index 3ef460384d..50ff114105 100644
--- a/examples/react/location-masking/package.json
+++ b/examples/react/location-masking/package.json
@@ -11,8 +11,8 @@
"dependencies": {
"@radix-ui/react-dialog": "^1.1.2",
"@tanstack/react-query": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
"redaxios": "^0.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
diff --git a/examples/react/navigation-blocking/package.json b/examples/react/navigation-blocking/package.json
index 711afc48c5..c4d1aec0c6 100644
--- a/examples/react/navigation-blocking/package.json
+++ b/examples/react/navigation-blocking/package.json
@@ -10,8 +10,8 @@
},
"dependencies": {
"@tanstack/react-query": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
"redaxios": "^0.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
diff --git a/examples/react/quickstart-esbuild-file-based/package.json b/examples/react/quickstart-esbuild-file-based/package.json
index fba91db6c3..0a5008e998 100644
--- a/examples/react/quickstart-esbuild-file-based/package.json
+++ b/examples/react/quickstart-esbuild-file-based/package.json
@@ -9,9 +9,9 @@
"start": "dev"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/quickstart-file-based/package.json b/examples/react/quickstart-file-based/package.json
index a9a1579d75..fbe8655241 100644
--- a/examples/react/quickstart-file-based/package.json
+++ b/examples/react/quickstart-file-based/package.json
@@ -9,9 +9,9 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/quickstart-rspack-file-based/package.json b/examples/react/quickstart-rspack-file-based/package.json
index 55aef6b455..676f5bae5b 100644
--- a/examples/react/quickstart-rspack-file-based/package.json
+++ b/examples/react/quickstart-rspack-file-based/package.json
@@ -8,15 +8,15 @@
"preview": "rsbuild preview"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@rsbuild/core": "1.1.0",
"@rsbuild/plugin-react": "1.0.7",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/router-plugin": "^1.81.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"typescript": "^5.6.2"
diff --git a/examples/react/quickstart-webpack-file-based/package.json b/examples/react/quickstart-webpack-file-based/package.json
index e9abe551dd..7e36d22177 100644
--- a/examples/react/quickstart-webpack-file-based/package.json
+++ b/examples/react/quickstart-webpack-file-based/package.json
@@ -7,14 +7,14 @@
"build": "webpack build && tsc --noEmit"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@swc/core": "^1.9.2",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/router-plugin": "^1.81.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"html-webpack-plugin": "^5.6.3",
diff --git a/examples/react/quickstart/package.json b/examples/react/quickstart/package.json
index ccfb6a5464..f647fe4cda 100644
--- a/examples/react/quickstart/package.json
+++ b/examples/react/quickstart/package.json
@@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
diff --git a/examples/react/router-monorepo-react-query/package.json b/examples/react/router-monorepo-react-query/package.json
index 398f4109d2..17f2bf1277 100644
--- a/examples/react/router-monorepo-react-query/package.json
+++ b/examples/react/router-monorepo-react-query/package.json
@@ -12,9 +12,9 @@
"dependencies": {
"@tanstack/react-query": "^5.59.20",
"@tanstack/react-query-devtools": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/router-monorepo-react-query/packages/app/package.json b/examples/react/router-monorepo-react-query/packages/app/package.json
index f3350a4877..f907e25504 100644
--- a/examples/react/router-monorepo-react-query/packages/app/package.json
+++ b/examples/react/router-monorepo-react-query/packages/app/package.json
@@ -19,7 +19,7 @@
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.3.3",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/router-devtools": "^1.81.7",
"typescript": "5.6.2",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0"
diff --git a/examples/react/router-monorepo-react-query/packages/router/package.json b/examples/react/router-monorepo-react-query/packages/router/package.json
index 0bef6be1da..465319668a 100644
--- a/examples/react/router-monorepo-react-query/packages/router/package.json
+++ b/examples/react/router-monorepo-react-query/packages/router/package.json
@@ -9,8 +9,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/react-query": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"@router-mono-react-query/post-query": "workspace:*",
"redaxios": "^0.5.1",
"zod": "^3.23.8",
diff --git a/examples/react/router-monorepo-simple/package.json b/examples/react/router-monorepo-simple/package.json
index 22db9555c3..e3c96065f6 100644
--- a/examples/react/router-monorepo-simple/package.json
+++ b/examples/react/router-monorepo-simple/package.json
@@ -8,9 +8,9 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/router-monorepo-simple/packages/app/package.json b/examples/react/router-monorepo-simple/packages/app/package.json
index d9a12623fd..18d47cfb55 100644
--- a/examples/react/router-monorepo-simple/packages/app/package.json
+++ b/examples/react/router-monorepo-simple/packages/app/package.json
@@ -18,7 +18,7 @@
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.3.3",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/router-devtools": "^1.81.7",
"typescript": "5.6.2",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0"
diff --git a/examples/react/router-monorepo-simple/packages/router/package.json b/examples/react/router-monorepo-simple/packages/router/package.json
index 85c8f1aafe..5a9b089978 100644
--- a/examples/react/router-monorepo-simple/packages/router/package.json
+++ b/examples/react/router-monorepo-simple/packages/router/package.json
@@ -8,8 +8,8 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"redaxios": "^0.5.1",
"zod": "^3.23.8",
"react": "^18.2.0",
diff --git a/examples/react/scroll-restoration/package.json b/examples/react/scroll-restoration/package.json
index 0ba057f179..e4ea8ced73 100644
--- a/examples/react/scroll-restoration/package.json
+++ b/examples/react/scroll-restoration/package.json
@@ -9,9 +9,9 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
"@tanstack/react-virtual": "^3.10.9",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/router-devtools": "^1.81.7",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
diff --git a/examples/react/search-validator-adapters/package.json b/examples/react/search-validator-adapters/package.json
index c2d9a826e0..0b1d672089 100644
--- a/examples/react/search-validator-adapters/package.json
+++ b/examples/react/search-validator-adapters/package.json
@@ -11,12 +11,12 @@
},
"dependencies": {
"@tanstack/react-query": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/arktype-adapter": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
- "@tanstack/valibot-adapter": "^1.81.5",
- "@tanstack/zod-adapter": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/arktype-adapter": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
+ "@tanstack/valibot-adapter": "^1.81.7",
+ "@tanstack/zod-adapter": "^1.81.7",
"arktype": "2.0.0-rc.23",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/examples/react/start-basic-auth/package.json b/examples/react/start-basic-auth/package.json
index 0ffee54667..8d87344106 100644
--- a/examples/react/start-basic-auth/package.json
+++ b/examples/react/start-basic-auth/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@prisma/client": "5.22.0",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/start": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/start": "^1.81.8",
"dotenv": "^16.4.5",
"prisma": "^5.22.0",
"react": "^18.3.1",
@@ -27,7 +27,6 @@
"@types/node": "^22.5.4",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.21",
- "@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.14",
diff --git a/examples/react/start-basic-react-query/package.json b/examples/react/start-basic-react-query/package.json
index 96147c28bd..b966106480 100644
--- a/examples/react/start-basic-react-query/package.json
+++ b/examples/react/start-basic-react-query/package.json
@@ -11,10 +11,10 @@
"dependencies": {
"@tanstack/react-query": "^5.59.20",
"@tanstack/react-query-devtools": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/react-router-with-query": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/start": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/react-router-with-query": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/start": "^1.81.8",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"redaxios": "^0.5.1",
@@ -25,7 +25,6 @@
"@types/node": "^22.5.4",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.21",
- "@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.14",
diff --git a/examples/react/start-basic-rsc/package.json b/examples/react/start-basic-rsc/package.json
index 959a843711..3c50882fdc 100644
--- a/examples/react/start-basic-rsc/package.json
+++ b/examples/react/start-basic-rsc/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@babel/plugin-syntax-typescript": "^7.25.9",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/start": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/start": "^1.81.8",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.5.4",
"vinxi": "0.4.3"
@@ -20,7 +20,6 @@
"devDependencies": {
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.21",
- "@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.14",
diff --git a/examples/react/start-basic/package.json b/examples/react/start-basic/package.json
index 18df0c11f4..8a4fe40d57 100644
--- a/examples/react/start-basic/package.json
+++ b/examples/react/start-basic/package.json
@@ -9,9 +9,9 @@
"start": "vinxi start"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/start": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/start": "^1.81.8",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"redaxios": "^0.5.1",
@@ -22,7 +22,6 @@
"@types/node": "^22.5.4",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.21",
- "@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.14",
diff --git a/examples/react/start-clerk-basic/package.json b/examples/react/start-clerk-basic/package.json
index 6bab359932..7c099e18cc 100644
--- a/examples/react/start-clerk-basic/package.json
+++ b/examples/react/start-clerk-basic/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@clerk/tanstack-start": "0.4.25",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/start": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/start": "^1.81.8",
"dotenv": "^16.4.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
@@ -25,7 +25,6 @@
"@types/node": "^22.5.4",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.21",
- "@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.14",
diff --git a/examples/react/start-convex-trellaux/package.json b/examples/react/start-convex-trellaux/package.json
index 37b6b7cecb..a58ca60bf5 100644
--- a/examples/react/start-convex-trellaux/package.json
+++ b/examples/react/start-convex-trellaux/package.json
@@ -13,10 +13,10 @@
"dependencies": {
"@tanstack/react-query": "^5.59.20",
"@tanstack/react-query-devtools": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/react-router-with-query": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/start": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/react-router-with-query": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/start": "^1.81.8",
"@convex-dev/react-query": "0.0.0-alpha.8",
"concurrently": "^8.2.2",
"convex": "^1.17.0",
@@ -34,7 +34,6 @@
"devDependencies": {
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.21",
- "@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.14",
diff --git a/examples/react/start-counter/package.json b/examples/react/start-counter/package.json
index 61f8c0a61e..ecac3412b4 100644
--- a/examples/react/start-counter/package.json
+++ b/examples/react/start-counter/package.json
@@ -9,8 +9,8 @@
"start": "vinxi start"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/start": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/start": "^1.81.8",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vinxi": "0.4.3"
diff --git a/examples/react/start-supabase-basic/package.json b/examples/react/start-supabase-basic/package.json
index d7e240d9d1..44d0c97d59 100644
--- a/examples/react/start-supabase-basic/package.json
+++ b/examples/react/start-supabase-basic/package.json
@@ -15,10 +15,9 @@
"dependencies": {
"@supabase/ssr": "^0.5.2",
"@supabase/supabase-js": "^2.46.1",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/start": "^1.81.5",
- "@vitejs/plugin-react": "^4.3.3",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/start": "^1.81.8",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vinxi": "0.4.3"
diff --git a/examples/react/start-trellaux/package.json b/examples/react/start-trellaux/package.json
index e62f0b4365..7b3a5aadce 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -11,10 +11,10 @@
"dependencies": {
"@tanstack/react-query": "^5.59.20",
"@tanstack/react-query-devtools": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/react-router-with-query": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/start": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/react-router-with-query": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/start": "^1.81.8",
"ky": "^1.7.2",
"msw": "^2.6.4",
"react": "^18.3.1",
@@ -29,7 +29,6 @@
"devDependencies": {
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.21",
- "@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.14",
diff --git a/examples/react/with-framer-motion/package.json b/examples/react/with-framer-motion/package.json
index 7227dc84e6..04fb88d08d 100644
--- a/examples/react/with-framer-motion/package.json
+++ b/examples/react/with-framer-motion/package.json
@@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
"redaxios": "^0.5.1",
"framer-motion": "^11.11.11",
"react": "^18.2.0",
diff --git a/examples/react/with-trpc-react-query/package.json b/examples/react/with-trpc-react-query/package.json
index ae9cd614e0..d9c1cd06af 100644
--- a/examples/react/with-trpc-react-query/package.json
+++ b/examples/react/with-trpc-react-query/package.json
@@ -10,9 +10,9 @@
"dependencies": {
"@tanstack/react-query": "^5.59.20",
"@tanstack/react-query-devtools": "^5.59.20",
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"@trpc/client": "11.0.0-rc.630",
"@trpc/react-query": "11.0.0-rc.630",
"@trpc/server": "11.0.0-rc.630",
diff --git a/examples/react/with-trpc/package.json b/examples/react/with-trpc/package.json
index 5abb4ed90f..31f9e54d9f 100644
--- a/examples/react/with-trpc/package.json
+++ b/examples/react/with-trpc/package.json
@@ -8,9 +8,9 @@
"start": "vinxi start"
},
"dependencies": {
- "@tanstack/react-router": "^1.81.5",
- "@tanstack/router-devtools": "^1.81.5",
- "@tanstack/router-plugin": "^1.79.0",
+ "@tanstack/react-router": "^1.81.7",
+ "@tanstack/router-devtools": "^1.81.7",
+ "@tanstack/router-plugin": "^1.81.6",
"@trpc/client": "11.0.0-rc.630",
"@trpc/server": "11.0.0-rc.630",
"react": "^18.2.0",
diff --git a/packages/arktype-adapter/package.json b/packages/arktype-adapter/package.json
index d01d3dc968..e2e3d2dfca 100644
--- a/packages/arktype-adapter/package.json
+++ b/packages/arktype-adapter/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/arktype-adapter",
- "version": "1.81.5",
+ "version": "1.81.7",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/create-router/package.json b/packages/create-router/package.json
index 206bd39c57..45b084beaf 100644
--- a/packages/create-router/package.json
+++ b/packages/create-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/create-router",
- "version": "1.81.5",
+ "version": "1.81.7",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/eslint-plugin-router/package.json b/packages/eslint-plugin-router/package.json
index eea97d05ca..0bf2cf6ce0 100644
--- a/packages/eslint-plugin-router/package.json
+++ b/packages/eslint-plugin-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/eslint-plugin-router",
- "version": "1.81.5",
+ "version": "1.81.6",
"description": "ESLint plugin for TanStack Router",
"author": "Manuel Schiller",
"license": "MIT",
diff --git a/packages/history/package.json b/packages/history/package.json
index b4ea3ae9a4..c8c7faf406 100644
--- a/packages/history/package.json
+++ b/packages/history/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/history",
- "version": "1.81.3",
+ "version": "1.81.6",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-cross-context/package.json b/packages/react-cross-context/package.json
index 33cbc81983..7f5f741276 100644
--- a/packages/react-cross-context/package.json
+++ b/packages/react-cross-context/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-cross-context",
- "version": "1.74.5",
+ "version": "1.81.6",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-router-with-query/package.json b/packages/react-router-with-query/package.json
index c497ee6c35..bab7bdc43f 100644
--- a/packages/react-router-with-query/package.json
+++ b/packages/react-router-with-query/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-router-with-query",
- "version": "1.81.5",
+ "version": "1.81.7",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-router/package.json b/packages/react-router/package.json
index c27d170f0a..76cd1629f5 100644
--- a/packages/react-router/package.json
+++ b/packages/react-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-router",
- "version": "1.81.5",
+ "version": "1.81.7",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-router/src/matchContext.tsx b/packages/react-router/src/matchContext.tsx
index 3727bc77c7..ce182bd994 100644
--- a/packages/react-router/src/matchContext.tsx
+++ b/packages/react-router/src/matchContext.tsx
@@ -1,3 +1,8 @@
import * as React from 'react'
export const matchContext = React.createContext(undefined)
+
+// N.B. this only exists so we can conditionally call useContext on it when we are not interested in the nearest match
+export const dummyMatchContext = React.createContext(
+ undefined,
+)
diff --git a/packages/react-router/src/router.ts b/packages/react-router/src/router.ts
index d0486a3564..7ba20545ab 100644
--- a/packages/react-router/src/router.ts
+++ b/packages/react-router/src/router.ts
@@ -490,7 +490,7 @@ export interface RouterErrorSerializer {
export interface RouterState<
TRouteTree extends AnyRoute = AnyRoute,
- TRouteMatch = MakeRouteMatch,
+ TRouteMatch = MakeRouteMatchUnion,
> {
status: 'pending' | 'idle'
loadedAt: number
@@ -1242,9 +1242,11 @@ export class Router<
// pending matches that are still loading
const existingMatch = this.getMatch(matchId)
- const cause = this.state.matches.find((d) => d.id === matchId)
- ? 'stay'
- : 'enter'
+ const previousMatch = this.state.matches.find(
+ (d) => d.routeId === route.id,
+ )
+
+ const cause = previousMatch ? 'stay' : 'enter'
let match: AnyRouteMatch
@@ -1252,7 +1254,12 @@ export class Router<
match = {
...existingMatch,
cause,
- params: routeParams,
+ params: previousMatch
+ ? replaceEqualDeep(previousMatch.params, routeParams)
+ : routeParams,
+ search: previousMatch
+ ? replaceEqualDeep(previousMatch.search, preMatchSearch)
+ : replaceEqualDeep(existingMatch.search, preMatchSearch),
}
} else {
const status =
@@ -1267,10 +1274,14 @@ export class Router<
id: matchId,
index,
routeId: route.id,
- params: routeParams,
+ params: previousMatch
+ ? replaceEqualDeep(previousMatch.params, routeParams)
+ : routeParams,
pathname: joinPaths([this.basepath, interpolatedPath]),
updatedAt: Date.now(),
- search: {} as any,
+ search: previousMatch
+ ? replaceEqualDeep(previousMatch.search, preMatchSearch)
+ : preMatchSearch,
searchError: undefined,
status,
isFetching: false,
@@ -1282,7 +1293,9 @@ export class Router<
abortController: new AbortController(),
fetchCount: 0,
cause,
- loaderDeps,
+ loaderDeps: previousMatch
+ ? replaceEqualDeep(previousMatch.loaderDeps, loaderDeps)
+ : loaderDeps,
invalid: false,
preload: false,
links: route.options.links?.(),
@@ -1314,10 +1327,7 @@ export class Router<
match.globalNotFound = globalNotFoundRouteId === route.id
}
- // Regardless of whether we're reusing an existing match or creating
- // a new one, we need to update the match's search params
- match.search = replaceEqualDeep(match.search, preMatchSearch)
- // And also update the searchError if there is one
+ // update the searchError if there is one
match.searchError = searchError
const parentMatchId = parentMatch?.id
diff --git a/packages/react-router/src/useMatch.tsx b/packages/react-router/src/useMatch.tsx
index ac119802b4..675b12ea95 100644
--- a/packages/react-router/src/useMatch.tsx
+++ b/packages/react-router/src/useMatch.tsx
@@ -1,7 +1,7 @@
import * as React from 'react'
import invariant from 'tiny-invariant'
import { useRouterState } from './useRouterState'
-import { matchContext } from './matchContext'
+import { dummyMatchContext, matchContext } from './matchContext'
import type {
StructuralSharingOption,
ValidateSelected,
@@ -84,7 +84,9 @@ export function useMatch<
TStructuralSharing
>,
): ThrowOrOptional, TThrow> {
- const nearestMatchId = React.useContext(matchContext)
+ const nearestMatchId = React.useContext(
+ opts.from ? dummyMatchContext : matchContext,
+ )
const matchSelection = useRouterState({
select: (state: any) => {
diff --git a/packages/router-cli/package.json b/packages/router-cli/package.json
index b367521b28..78bfe39630 100644
--- a/packages/router-cli/package.json
+++ b/packages/router-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-cli",
- "version": "1.79.0",
+ "version": "1.81.6",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-devtools/package.json b/packages/router-devtools/package.json
index d8a989641a..5e3a86a3fb 100644
--- a/packages/router-devtools/package.json
+++ b/packages/router-devtools/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-devtools",
- "version": "1.81.5",
+ "version": "1.81.7",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-generator/package.json b/packages/router-generator/package.json
index 3615ca9b2c..ccca4f9344 100644
--- a/packages/router-generator/package.json
+++ b/packages/router-generator/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-generator",
- "version": "1.79.0",
+ "version": "1.81.6",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-plugin/package.json b/packages/router-plugin/package.json
index 223a6ae4c0..6a531f573c 100644
--- a/packages/router-plugin/package.json
+++ b/packages/router-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-plugin",
- "version": "1.79.0",
+ "version": "1.81.6",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-vite-plugin/package.json b/packages/router-vite-plugin/package.json
index d50bb8235f..753cc15cac 100644
--- a/packages/router-vite-plugin/package.json
+++ b/packages/router-vite-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-vite-plugin",
- "version": "1.79.0",
+ "version": "1.81.6",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-vite-plugin/package.json b/packages/start-vite-plugin/package.json
index 05a2f0cca0..3fb1a2aa69 100644
--- a/packages/start-vite-plugin/package.json
+++ b/packages/start-vite-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-vite-plugin",
- "version": "1.79.0",
+ "version": "1.81.6",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start/package.json b/packages/start/package.json
index 7939e69eb1..af9ad99659 100644
--- a/packages/start/package.json
+++ b/packages/start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start",
- "version": "1.81.5",
+ "version": "1.81.8",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
@@ -140,6 +140,7 @@
"@vinxi/react-server-dom": "^0.0.3",
"@vinxi/server-components": "^0.4.3",
"@vinxi/server-functions": "^0.4.3",
+ "@vitejs/plugin-react": "^4.3.3",
"import-meta-resolve": "^4.1.0",
"isbot": "^5.1.17",
"jsesc": "^3.0.2",
@@ -150,7 +151,6 @@
"devDependencies": {
"@types/jsesc": "^3.0.3",
"@testing-library/react": "^16.0.1",
- "@vitejs/plugin-react": "^4.3.3",
"nitropack": "^2.10.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/packages/valibot-adapter/package.json b/packages/valibot-adapter/package.json
index 2b0fb6012c..2455d50fb2 100644
--- a/packages/valibot-adapter/package.json
+++ b/packages/valibot-adapter/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/valibot-adapter",
- "version": "1.81.5",
+ "version": "1.81.7",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/virtual-file-routes/package.json b/packages/virtual-file-routes/package.json
index 18aa467876..05943d2f04 100644
--- a/packages/virtual-file-routes/package.json
+++ b/packages/virtual-file-routes/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/virtual-file-routes",
- "version": "1.64.0",
+ "version": "1.81.6",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/zod-adapter/package.json b/packages/zod-adapter/package.json
index 5704cbd484..aa4e879e9f 100644
--- a/packages/zod-adapter/package.json
+++ b/packages/zod-adapter/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/zod-adapter",
- "version": "1.81.5",
+ "version": "1.81.7",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 392d454f1b..29a4a6b036 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -2268,9 +2268,6 @@ importers:
'@types/react-dom':
specifier: ^18.2.21
version: 18.3.1
- '@vitejs/plugin-react':
- specifier: ^4.3.3
- version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0))
autoprefixer:
specifier: ^10.4.20
version: 10.4.20(postcss@8.4.49)
@@ -2335,9 +2332,6 @@ importers:
'@types/react-dom':
specifier: ^18.2.21
version: 18.3.1
- '@vitejs/plugin-react':
- specifier: ^4.3.3
- version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0))
autoprefixer:
specifier: ^10.4.20
version: 10.4.20(postcss@8.4.49)
@@ -2399,9 +2393,6 @@ importers:
'@types/react-dom':
specifier: ^18.2.21
version: 18.3.1
- '@vitejs/plugin-react':
- specifier: ^4.3.3
- version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0))
autoprefixer:
specifier: ^10.4.20
version: 10.4.20(postcss@8.4.49)
@@ -2448,9 +2439,6 @@ importers:
'@types/react-dom':
specifier: ^18.2.21
version: 18.3.1
- '@vitejs/plugin-react':
- specifier: ^4.3.3
- version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0))
autoprefixer:
specifier: ^10.4.20
version: 10.4.20(postcss@8.4.49)
@@ -2512,9 +2500,6 @@ importers:
'@types/react-dom':
specifier: ^18.2.21
version: 18.3.1
- '@vitejs/plugin-react':
- specifier: ^4.3.3
- version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0))
autoprefixer:
specifier: ^10.4.20
version: 10.4.20(postcss@8.4.49)
@@ -2597,9 +2582,6 @@ importers:
'@types/react-dom':
specifier: ^18.2.21
version: 18.3.1
- '@vitejs/plugin-react':
- specifier: ^4.3.3
- version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0))
autoprefixer:
specifier: ^10.4.20
version: 10.4.20(postcss@8.4.49)
@@ -2664,9 +2646,6 @@ importers:
'@tanstack/start':
specifier: workspace:*
version: link:../../../packages/start
- '@vitejs/plugin-react':
- specifier: ^4.3.3
- version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0))
react:
specifier: ^18.3.1
version: 18.3.1
@@ -2753,9 +2732,6 @@ importers:
'@types/react-dom':
specifier: ^18.2.21
version: 18.3.1
- '@vitejs/plugin-react':
- specifier: ^4.3.3
- version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0))
autoprefixer:
specifier: ^10.4.20
version: 10.4.20(postcss@8.4.49)
@@ -3267,6 +3243,9 @@ importers:
'@vinxi/server-functions':
specifier: ^0.4.3
version: 0.4.3(vinxi@0.4.3(@types/node@22.9.0)(ioredis@5.4.1)(terser@5.36.0)(typescript@5.6.3))
+ '@vitejs/plugin-react':
+ specifier: ^4.3.3
+ version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0))
import-meta-resolve:
specifier: ^4.1.0
version: 4.1.0
@@ -3292,9 +3271,6 @@ importers:
'@types/jsesc':
specifier: ^3.0.3
version: 3.0.3
- '@vitejs/plugin-react':
- specifier: ^4.3.3
- version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0))
nitropack:
specifier: ^2.10.4
version: 2.10.4(typescript@5.6.3)