@octanejs/tanstack-router 0.1.2 → 0.1.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/README.md +17 -4
- package/package.json +9 -2
package/README.md
CHANGED
|
@@ -68,6 +68,16 @@ layout, per TanStack's fuzzy/root boundary rules), plus the full
|
|
|
68
68
|
`@tanstack/router-core` re-export (`redirect`, `notFound`, history, search helpers,
|
|
69
69
|
types).
|
|
70
70
|
|
|
71
|
+
The 2026-07-06 gap-closure sweep (see `docs/tanstack-parity-audit.md`) additionally
|
|
72
|
+
landed the full Match pipeline (per-route Suspense/CatchBoundary/CatchNotFound,
|
|
73
|
+
pending/error/redirected/notFound statuses), router lifecycle events, `useBlocker`/
|
|
74
|
+
`Block`, the complete read-hook family (`useMatch`, `useRouteContext`,
|
|
75
|
+
`useLoaderDeps`, `useParentMatches`/`useChildMatches`, …), `getRouteApi`/
|
|
76
|
+
`createRouteMask`, `useMatchRoute`/`MatchRoute`, `ClientOnly`, search-param
|
|
77
|
+
validation/middleware, and full `Link` parity (preloading, masking,
|
|
78
|
+
`activeProps`/`inactiveProps`) — differential-verified byte-equal against the real
|
|
79
|
+
`@tanstack/react-router`.
|
|
80
|
+
|
|
71
81
|
```tsx
|
|
72
82
|
// streaming a deferred loader value
|
|
73
83
|
<Await promise={data.slow} fallback={'loading…'}>
|
|
@@ -81,8 +91,13 @@ types).
|
|
|
81
91
|
createRoute({ path: 'item/$id', component: lazyRouteComponent(() => import('./Item')) })
|
|
82
92
|
```
|
|
83
93
|
|
|
84
|
-
Deferred: file-based routing + the codegen plugin, devtools,
|
|
85
|
-
|
|
94
|
+
Deferred: file-based routing + the codegen plugin, devtools, the SSR entries
|
|
95
|
+
(`RouterServer`/`RouterClient`, `HeadContent`/`Scripts`), and the typed public
|
|
96
|
+
surface (factories/hooks are still `any`).
|
|
97
|
+
|
|
98
|
+
Current scope, divergences, and verification status are tracked in the generated
|
|
99
|
+
[bindings status table](../../docs/bindings-status.md) (sourced from this
|
|
100
|
+
package's `status.json`).
|
|
86
101
|
|
|
87
102
|
## Divergences from `@tanstack/react-router`
|
|
88
103
|
|
|
@@ -90,5 +105,3 @@ validation/middleware, `useBlocker`, SSR head/scripts.
|
|
|
90
105
|
prop.
|
|
91
106
|
- **No `flushSync`** in the `Link` click handler (the one hard `react-dom`
|
|
92
107
|
coupling) — navigation state updates run synchronously in v1.
|
|
93
|
-
- `Link` v1 reflects active state via `data-status="active"` + `aria-current`; the
|
|
94
|
-
`activeProps`/`inactiveProps` className-merge API is a follow-up.
|
package/package.json
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/tanstack-router",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"octane": {
|
|
7
|
+
"hookSlots": {
|
|
8
|
+
"manual": [
|
|
9
|
+
"src"
|
|
10
|
+
]
|
|
11
|
+
}
|
|
12
|
+
},
|
|
6
13
|
"description": "TanStack Router bindings for the octane renderer — reuses @tanstack/router-core and swaps the React binding for octane's hooks.",
|
|
7
14
|
"author": {
|
|
8
15
|
"name": "Dominic Gannaway",
|
|
@@ -31,7 +38,7 @@
|
|
|
31
38
|
"@tanstack/history": "1.162.0",
|
|
32
39
|
"@tanstack/router-core": "1.171.13",
|
|
33
40
|
"@tanstack/store": "^0.9.3",
|
|
34
|
-
"octane": "0.1.
|
|
41
|
+
"octane": "0.1.5"
|
|
35
42
|
},
|
|
36
43
|
"devDependencies": {
|
|
37
44
|
"@tanstack/react-router": "1.170.16",
|