mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
- joinPreloadedActiveMatch's foreground wait is now bounded: a
speculative preload drops its pass (ownership sentinel) instead of
outwaiting sustained navigation churn, where every iteration picked up
the replacement latestLoadPromise and awaiters never settled. Covered
by a churn regression test with signal-aware loaders.
- The react Transitioner stuck-pending repair now also emits
onLoad/onBeforeRouteMount/onResolved — deferred one macrotask so the
normal effect pipeline (which sets status idle) always wins arbitration
and events cannot double-fire; only genuinely unobserved loads repair.
- Server asset projection no longer abandons a pending async head()/
scripts() when a sync throw coincides with an async headers(): the
response waits on headers regardless, so that case now flows through
the generic per-kind branch and commits everything that settles. This
also removes the duplicated commit+recurse continuation.
- Restores solid-router's server-mode test suite ('vitest --mode
server'), accidentally dropped from test:unit by a concurrent agent
edit swept into an earlier commit; the suite passes.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
126 lines
3.7 KiB
126 lines
3.7 KiB