David Fahlander
David Fahlander
Would it be an option to encapsulate the Dexie calls via a service that uses chrome messaging api instead? It could either be built around your needs or it could...
This is an interesting use case. I still think propagating calls and liveQueries over messaging would be the most optimal solution (conceptually). If there were some 3rd party library capable...
`items` in this case is an observable and nothing will be queried until someone subscribes to it. Else than that, there are no guarantee when the subscriber will be notified...
Thanks for bringing it up. Also asked on stackoverflow: https://stackoverflow.com/questions/78089371/dexie-livequery-with-svelte-5-runes Need more knowledge about Svelte 5 and runes before I could do anything about it but a PR would be...
> Hello, I am also trying to use Dexie.js in a Svelte5 project with runes. I started by following the existing tutorial [Get started with Dexie in Svelte](https://dexie.org/docs/Tutorial/Svelte) tutorial. However,...
We'd need some svelte-specific library to consume live queries more slick with runes. See also my suggested helper in #2089 - it emits errors and loading status but it still...
Seems you have found something useful here ! Not sure I grip everything yet, but would it be doable to put this into a library? I would love to update...
I'm open to whatever would feel comfortable for you - if you'd prefer owning it I'm happy. I you rathe want to hand it over, a recursive copy of libs/dexie-react-hooks...
At least proposed solution 1 could be implemented with generic data mutation web hooks: * It should be possible to register web hooks that listens to certain tables and criterias...
That's easier if using [inbound](https://dexie.org/docs/inbound) keys, but as you are using outbound keys, you'd have to perform two parallell queries: ```js const [keys, values] = await Promise.all([ db.friends.primaryKeys(), db.friends.toArray() ]);...