Skip to content

Commit b44c8bb

Browse files
ci: apply automated fixes
1 parent 3c75874 commit b44c8bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/blog/tanstack-router-navigation-lifetimes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Consumers acquire and release their own claims on one loader invocation. The fli
120120

121121
Holding a lease means "this consumer still needs the shared work." Acquiring one increments the flight's lease count, releasing one removes only that consumer's claim. If the count reaches zero while the invocation is still pending, its controller can be aborted.[^flights]
122122

123-
Several kinds of *consumers* can hold a lease on a loader flight: a cached route, a rendered route, a pending route, and a preloading route. These leases can last long after the loader promise has settled: the claim is about resource lifetime.
123+
Several kinds of _consumers_ can hold a lease on a loader flight: a cached route, a rendered route, a pending route, and a preloading route. These leases can last long after the loader promise has settled: the claim is about resource lifetime.
124124

125125
In the opening scenario, the preload acquires the first lease. The `/account` navigation joins the flight and acquires another. When `/settings` supersedes that navigation, only the navigation's lease is released, but the preload still holds it, so the promise isn't aborted and the loader's result gets cached when it finally settles.
126126

0 commit comments

Comments
 (0)