10BC0 Bug: Incorrect useLiveQuery response before initial sync · dexie Dexie.js · Discussion #2179 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

Yes, this is an issue with dexie-cloud-addon that has been resolved and is available in the current beta.

The issue has been resolved in d860df8 and can be utilized by upgrading dexie, dexie-react-hooks and dexie-cloud-addon to their @next versions.

npm i dexie@next
npm i dexie-react-hooks@next
npm i dexie-cloud-addon@next

Also, configure dexie to block any pending requests until a user has been initially authenticated and initially synced using

db.cloud.configure({
   ...,
   requireAuth: true,
   ...
});

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sarink
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
cloud Dexie Cloud issue
2 participants
0