Skip to content
Source
Sign inSign up
TanStack/router

fix(react-start-rsc): require @vitejs/plugin-rsc >=0.5.30 for route component HMR #7900

Mergedsreetamdas(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/7900/headmerged by schiller-manuel(GitHub profile, opens in a new tab)

Showing 7 changed files with 7 additions and 2 deletions (loading 3).

x
0 of 7 viewed, 7 left
5 additions and 0 deletions.changeset/thick-jars-listen.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/react-start-rsc': patch
+---
+​
+Raise the `@vitejs/plugin-rsc` peer range to `>=0.5.30`. Versions in `0.5.20 - 0.5.29` suppress client HMR for a route component co-located with a `createServerFn`, fixed upstream in `@vitejs/plugin-rsc@0.5.30`.
1 addition and 1 deletione2e/react-start/rsc/package.jsonModified
View file
@@ -49,7 +49,7 @@
"@types/react-dom": "^19.0.3",
"@typescript-eslint/parser": "^8.23.0",
"@vitejs/plugin-react": "^6.0.1",
- "@vitejs/plugin-rsc": "^0.5.20",
+ "@vitejs/plugin-rsc": "^0.5.30",
"eslint": "^9.22.0",
"srvx": "^0.10.0",
"typescript": "^5.7.2",
1 addition and 1 deletione2e/react-start/rsc-deferred-hydration/package.jsonModified
View file
@@ -37,7 +37,7 @@
"@types/react": "^19.0.8",