TanStackOSS
    router
    fix(solid-router): keep route-scoped accessors readable after navigation teardown Route-scoped accessors like Route.useParams() are backed by a lazy memo in useMatch. When async work created by a route component read the accessor after navigating away, the memo re-executed against the new matches and threw "Invariant failed: Could not find an active match". Track disposal of the owning reactive scope via onCleanup and return the last known value for reads that happen after teardown, while still throwing for mounted components that read a genuinely missing match. Fixes #7331 Closes #7330 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
    nx affected --targets=test:eslint,test:unit,test:e2e,test:types,test:build,build --parallel=3
Succeeded
CI Pipeline Execution

nx affected --targets=test:eslint,test:unit,test:e2e,test:types,test:build,build --parallel=3

Click to copy
read access token used
c206dc1e7607
15%

Cache hits

30 of 199 tasks used cache.

86%

Distribution saved time

6m 05s instead of 43m 25s.

Atomizer enabled

120 groups of tasks optimized.

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools