Skip to content

Commit 40ec7f8

Browse files
chore(e2e): Unpin react-router-7-framework-spa to ^7.11.0 (#18551)
This unpins the React Router version from 7.10.1 to ^7.11.0 to allow automatic updates when [the SPA mode vite preview bug](remix-run/react-router#14672) is fixed upstream. **Background**: React Router 7.11.0 introduced a bug where vite preview attempts to load the deleted server build in SPA mode (ssr: false). We [pinned to 7.10.1 as a workaround](#18548), but this branch prepares for future unpinning once the issue is resolved. --------- Co-authored-by: Charly Gomez <[email protected]>
1 parent 107e2b0 commit 40ec7f8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dev-packages/e2e-tests/test-applications/react-router-7-framework-spa/app/entry.client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Sentry.init({
99
dsn: 'https://username@domain/123',
1010
integrations: [Sentry.reactRouterTracingIntegration()],
1111
tracesSampleRate: 1.0,
12-
tunnel: `http://localhost:3031/`, // proxy server
12+
tunnel: `http://localhost:3031/`,
1313
tracePropagationTargets: [/^\//],
1414
});
1515

dev-packages/e2e-tests/test-applications/react-router-7-framework-spa/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@
1818
},
1919
"dependencies": {
2020
"@sentry/react-router": "latest || *",
21-
"@react-router/node": "7.10.1",
22-
"@react-router/serve": "7.10.1",
21+
"@react-router/node": "^7.11.0",
22+
"@react-router/serve": "^7.11.0",
2323
"isbot": "^5.1.27",
2424
"react": "^18.3.1",
2525
"react-dom": "^18.3.1",
26-
"react-router": "7.10.1"
26+
"react-router": "^7.11.0"
2727
},
2828
"devDependencies": {
2929
"@playwright/test": "~1.56.0",
30-
"@react-router/dev": "7.10.1",
30+
"@react-router/dev": "^7.11.0",
3131
"@sentry-internal/test-utils": "link:../../../test-utils",
3232
"@tailwindcss/vite": "^4.1.4",
3333
"@types/node": "^20",

0 commit comments

Comments
 (0)