You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
useLiveQuery returning stale results when querying local storage collection #471
Changes to a local storage collection are successfully being persisted to local storage and useLiveQuery will return the updated data, but then revert back to the pre-modified data. Refreshing the window/tab then reflects the expected updated state. If I switch to a local only collection the issue no longer occurs. This doesn't happen everywhere I'm using useLiveQuery with the same local storage collection, so there is something unique about the way I'm using it combined with local storage. I'm not sure if I'll be able to make a repro case but curious if there is any idea of what might be going on ...
Hey @craigsmitham, thanks for the report. I've tried to reproduce it but not be able to so far. Could you check if you can still trigger it and is so show me the code that does? A reproduction would be ideal.
Closing as stale because maintainers could not reproduce this and no reproduction or requested code followed in nearly a year. Please reopen or file a fresh issue with current versions and a minimal reproduction if the stale-result behavior remains.
Activity
samwillis commentedon Oct 4, 2025
Hey @craigsmitham, thanks for the report. I've tried to reproduce it but not be able to so far. Could you check if you can still trigger it and is so show me the code that does? A reproduction would be ideal.
sudoskys commentedon Oct 16, 2025
Are you using electricSQL?
If so, I think it might be something like this?
#282
Changes are "loaded" from the HTTP cache
KyleAMathews commentedon Sep 23, 2026
Closing as stale because maintainers could not reproduce this and no reproduction or requested code followed in nearly a year. Please reopen or file a fresh issue with current versions and a minimal reproduction if the stale-result behavior remains.