You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/blog/tanstack-router-signal-graph.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ TanStack Router used to center most of its reactivity around one large object: `
14
14
15
15
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.
16
16
17
-
The result is
17
+
The result is
18
18
- better update locality,
19
19
- fewer store updates during navigation,
20
20
- substantially faster client-side navigation,
@@ -39,9 +39,7 @@ This did not mean every update rerendered everything. Options like `select` and
39
39
40
40
Routing is not one thing that changes all at once. A navigation changes specific pieces of state with specific relationships: one match stays active, another becomes pending, one link flips state, some cached matches do not change at all.
41
41
42
-
The old model captured those pieces of state, but it flattened them into one main subscription surface. That was the mismatch.
43
-
44
-
This is where the mismatch becomes visible:
42
+
The old model captured those pieces of state, but it flattened them into one main subscription surface. This is where the mismatch becomes visible:
0 commit comments