@tanstack/db@0.6.10
Immutable
release. Only release title and notes can be modified.
Patch Changes
-
Fix live query
preload()hanging forever after a source collection was cleaned up (#1576) (#1606)When a source collection is cleaned up while a live query depends on it, the live query transitions to an error state and latches an internal
isInErrorStateflag. That flag was never reset, so restarting sync (e.g. callingpreload()again after cleanup when switching profiles) left the live query unable to become ready and the returned promise never resolved. The flag is now cleared at the start of each sync session so the live query can recover.