Skip to content

Commit 8bcabba

Browse files
ci: apply automated fixes
1 parent c18f8a3 commit 8bcabba

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,4 @@
165165
"brace-expansion": ">=1.1.12"
166166
}
167167
}
168-
}
168+
}

src/blog/tanstack-router-signal-graph.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ TanStack Router used to center most of its reactivity around one large object: `
1515
This builds on TanStack Store's migration to [alien-signals](https://github.com/stackblitz/alien-signals) in [TanStack Store PR #265](https://github.com/TanStack/store/pull/265), implemented by [@DavidKPiano](https://github.com/davidkpiano). In external benchmarks like [js-reactivity-benchmark](https://github.com/transitive-bullshit/js-reactivity-benchmark), alien-signals is currently the best-performing signals implementation tested. But the main improvement here is not just a faster primitive. It is a different reactive model.
1616

1717
The result is
18+
1819
- better update locality,
1920
- fewer store updates during navigation,
2021
- substantially faster client-side navigation,
@@ -26,12 +27,12 @@ The old model had one main reactive surface: `router.state`.
2627

2728
That was useful. It made it possible to prototype features quickly and ship a broad API surface without first designing a perfect internal reactive topology. But it also meant many different concerns shared the same reactive entry point.
2829

29-
| Concern | Stored under `router.state` | Typical consumer |
30-
| -------------------- | -------------------------------------------- | -------------------------------- |
31-
| Location | `location`, `resolvedLocation` | `useLocation`, `Link` |
32-
| Match lifecycle | `matches`, `pendingMatches`, `cachedMatches` | `useMatch`, `Matches`, `Outlet` |
33-
| Navigation status | `status`, `isLoading`, `isTransitioning` | pending UI, transitions |
34-
| Side effects | `redirect`, `statusCode` | navigation and response handling |
30+
| Concern | Stored under `router.state` | Typical consumer |
31+
| ----------------- | -------------------------------------------- | -------------------------------- |
32+
| Location | `location`, `resolvedLocation` | `useLocation`, `Link` |
33+
| Match lifecycle | `matches`, `pendingMatches`, `cachedMatches` | `useMatch`, `Matches`, `Outlet` |
34+
| Navigation status | `status`, `isLoading`, `isTransitioning` | pending UI, transitions |
35+
| Side effects | `redirect`, `statusCode` | navigation and response handling |
3536

3637
This did not mean every update rerendered everything. Options like `select` and `structuralSharing` could prevent propagation. But many consumers still started from a broader subscription surface than they actually needed.
3738

0 commit comments

Comments
 (0)