@tanstack/react-router 1.133.35 → 1.134.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/llms/rules/guide.js
CHANGED
|
@@ -6683,7 +6683,7 @@ const parentRoute = createRoute({
|
|
|
6683
6683
|
|
|
6684
6684
|
## Exported Hooks, Components, and Utilities
|
|
6685
6685
|
|
|
6686
|
-
For the types of your router to work with top-level exports like \`Link\`, \`useNavigate\`, \`useParams\`, etc. they must permeate the
|
|
6686
|
+
For the types of your router to work with top-level exports like \`Link\`, \`useNavigate\`, \`useParams\`, etc. they must permeate the TypeScript module boundary and be registered right into the library. To do this, we use declaration merging on the exported \`Register\` interface.
|
|
6687
6687
|
|
|
6688
6688
|
\`\`\`ts
|
|
6689
6689
|
const router = createRouter({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/react-router",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.134.4",
|
|
4
4
|
"description": "Modern and scalable routing for React applications",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
"node": ">=12"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@tanstack/react-store": "^0.
|
|
78
|
+
"@tanstack/react-store": "^0.8.0",
|
|
79
79
|
"isbot": "^5.1.22",
|
|
80
80
|
"tiny-invariant": "^1.3.3",
|
|
81
81
|
"tiny-warning": "^1.0.3",
|
|
82
82
|
"@tanstack/history": "1.133.28",
|
|
83
|
-
"@tanstack/router-core": "1.
|
|
83
|
+
"@tanstack/router-core": "1.134.4"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@testing-library/jest-dom": "^6.6.3",
|