Tab contention?
#2107
Replies: 2 comments 7 replies
-
It is normal that useLiveQuery() returns undefined on initial render before the async querier is done with its result. Is this the case or do you see it returning undefined also after initial render? |
Beta Was this translation helpful? Give feedback.
7 replies
-
Some more information if it's helpful ... useLiveQuery only gets called once. when it gets called ...
I have a scheduled task in my app that runs every 30 seconds, when that happens ...
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm encountering an intermittent issue in which useLiveQuery will sometimes return undefined despite IndexedDB having data.
It's almost as if one of the tabs is stuck in a state where it's keeping a lock that prevents the other tabs from reading the db, and closing that tab fixes the problem. But I don't have any code in my app that would prevent other tabs from reading from the db.
Beta Was this translation helpful? Give feedback.
All reactions