@tanstack/react-router 0.0.1-beta.41 → 0.0.1-beta.46
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/LICENSE +21 -0
- package/build/cjs/index.js.map +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +55 -55
- package/build/types/index.d.ts +1 -1
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +4 -4
- package/src/index.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/react-router",
|
|
3
3
|
"author": "Tanner Linsley",
|
|
4
|
-
"version": "0.0.1-beta.
|
|
4
|
+
"version": "0.0.1-beta.46",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "tanstack/router",
|
|
7
7
|
"homepage": "https://tanstack.com/router/",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@babel/runtime": "^7.16.7",
|
|
44
44
|
"@solidjs/reactivity": "^0.0.6",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
45
|
+
"use-sync-external-store": "^1.2.0",
|
|
46
|
+
"@tanstack/router-core": "0.0.1-beta.45"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/use-sync-external-store": "^0.0.3",
|
|
50
50
|
"babel-plugin-transform-async-to-promises": "^0.8.18"
|
|
51
51
|
}
|
|
52
|
-
}
|
|
52
|
+
}
|
package/src/index.tsx
CHANGED
|
@@ -256,7 +256,7 @@ export interface LinkFn<
|
|
|
256
256
|
TFrom extends RegisteredAllRouteInfo['routePaths'] = TDefaultFrom,
|
|
257
257
|
TTo extends string = TDefaultTo,
|
|
258
258
|
>(
|
|
259
|
-
props: MakeLinkOptions<TFrom, TTo>,
|
|
259
|
+
props: MakeLinkOptions<TFrom, TTo> & React.RefAttributes<HTMLAnchorElement>,
|
|
260
260
|
): ReactNode
|
|
261
261
|
}
|
|
262
262
|
|