Skip to content

Commit 6d904d6

Browse files
authored
chore(examples): Bump Clerk TanStack version and add temporary fix (#6341)
1 parent 9066afc commit 6d904d6

File tree

3 files changed

+97
-28
lines changed

3 files changed

+97
-28
lines changed

examples/react/start-clerk-basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
1111
},
1212
"dependencies": {
13-
"@clerk/tanstack-react-start": "^0.26.3",
13+
"@clerk/tanstack-react-start": "^0.27.14",
1414
"@tanstack/react-router": "^1.146.2",
1515
"@tanstack/react-router-devtools": "^1.146.2",
1616
"@tanstack/react-start": "^1.146.3",

examples/react/start-clerk-basic/vite.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,10 @@ export default defineConfig({
1616
tanstackStart(),
1717
viteReact(),
1818
],
19+
// See https://github.com/TanStack/router/issues/5738
20+
resolve: {
21+
alias: [
22+
{ find: 'use-sync-external-store/shim/index.js', replacement: 'react' },
23+
],
24+
},
1925
})

pnpm-lock.yaml

Lines changed: 90 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)