ta
TanStack
GitHub
query
Workspace
GitHub
CI Pipeline Executions
Filtered
Runs
Demo
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
Overview
⌘K
query
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
11325
afe2bf12 fix(solid-query): scope useMutation's cache subscription to the flight The hook subscribed to the mutation cache at mount with a bare reactive client() read — tripping Solid's STRICT_READ_UNTRACKED dev diagnostic (reported by @brenelz in #11324) — and held that subscription for its whole life even though the listener only matters between mutate and settle. Rather than untracking the read, remove it: subscribe inside run(), against the same client the mutation is built on, and unsubscribe at the settle points (plus onCleanup for unmount mid-flight). By construction: no reactive read at setup (nothing to untrack), the listener and the mutation can never sit on different clients across a QueryClient swap, and an idle useMutation holds no cache subscription — mutation-cache events no longer fan out to every mounted hook. Includes the #11324 regression test (no strict-read diagnostic on mount) plus a listener-count test pinning the idle/flight/settled subscription lifecycle. Co-authored-by: Cursor <cursoragent@cursor.com>
by Ryan Carniato
R
Previous
Next