Skip to content

Commit 7c9dbc6

Browse files
committed
compress
1 parent c124780 commit 7c9dbc6

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
239 KB
Loading
-2.95 MB
Binary file not shown.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: 'From One Big Router Store to a Granular Signal Graph'
99
excerpt: TanStack Router now uses a granular signal graph as its reactive core. State is derived from that graph, narrowing change propagation and making client-side navigation substantially faster.
1010
---
1111

12-
![veins of emerald as a signal graph embedded in the rock of a tropical island](/blog-assets/tanstack-router-signal-graph/header.png)
12+
![veins of emerald as a signal graph embedded in the rock of a tropical island](/blog-assets/tanstack-router-signal-graph/header.jpg)
1313

1414
TanStack Router used to center most of its reactivity around one large object: `router.state`. [This refactor](https://github.com/TanStack/router/pull/6704) replaces that broad store with a graph of smaller stores. `router.state` is no longer the internal source of truth. It is now derived from the store graph.
1515

@@ -44,7 +44,7 @@ Routing is not one thing that changes all at once. A navigation changes specific
4444
The old model captured those pieces of state, but it flattened them into one main subscription surface. This is where the mismatch becomes visible:
4545

4646
<figure>
47-
<video src="/blog-assets/tanstack-router-signal-graph/before-granular-store-graph-2.mp4" playsinline loop autoplay muted></video>
47+
<video src="/blog-assets/tanstack-router-signal-graph/before-granular-store-graph-2.webm" playsinline loop autoplay muted></video>
4848
<figcaption>
4949
A video showing that on every stateful event in the core of the router, changes are propagated to every subscription across the entire application.
5050
</figcaption>
@@ -67,7 +67,7 @@ The broad surface is split into smaller stores with narrower responsibilities.
6767
The new picture looks like this:
6868

6969
<figure>
70-
<video src="/blog-assets/tanstack-router-signal-graph/after-granular-store-graph-2.mp4" playsinline loop autoplay muted></video>
70+
<video src="/blog-assets/tanstack-router-signal-graph/after-granular-store-graph-2.webm" playsinline loop autoplay muted></video>
7171
<figcaption>
7272
A video showing that on each stateful event in the core of the router, only a specific subset of subscribers are updated in the application.
7373
</figcaption>

0 commit comments

Comments
 (0)