Skip to content

Commit f15254d

Browse files
committed
docs(example): point demo at PR #7697 pkg.pr.new build
1 parent f5e96ae commit f15254d

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

examples-external/view-transitions-traversal/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,21 @@ on = transitions replay, off = hard cut.
1212
1313
## ⚠️ Set the package version first
1414

15-
This example installs the router from a per-PR build:
15+
This example installs the router from the per-PR build for
16+
[TanStack/router#7697](https://github.com/TanStack/router/pull/7697):
1617

1718
```jsonc
1819
// package.json
19-
"@tanstack/react-router": "https://pkg.pr.new/@tanstack/react-router@7695"
20+
"@tanstack/react-router": "https://pkg.pr.new/@tanstack/react-router@7697"
2021
```
2122

22-
`7695` is a **placeholder** — replace it with the real PR number (or commit SHA) once
23-
the PR is open, e.g. `https://pkg.pr.new/@tanstack/react-router@<PR_NUMBER>`.
23+
The build is published by CI once it runs on the PR. If you point this at a different
24+
PR/commit, update the version accordingly, e.g. `.../@tanstack/react-router@<PR_NUMBER>`.
2425

2526
## Run it
2627

2728
In StackBlitz: open
28-
`https://stackblitz.com/github/<owner>/router/tree/feat/replay-view-transition-on-traversal/examples-external/view-transitions-traversal`
29+
`https://stackblitz.com/github/KurtGokhan/tanstack-router/tree/feat/replay-view-transition-on-traversal/examples-external/view-transitions-traversal`
2930

3031
Locally:
3132

examples-external/view-transitions-traversal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"preview": "vite preview"
99
},
1010
"dependencies": {
11-
"@tanstack/react-router": "https://pkg.pr.new/@tanstack/react-router@7695",
11+
"@tanstack/react-router": "https://pkg.pr.new/@tanstack/react-router@7697",
1212
"react": "^19.0.0",
1313
"react-dom": "^19.0.0"
1414
},

0 commit comments

Comments
 (0)