Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Dexie.js #3365

Closed
MisRob opened this issue Apr 13, 2022 · 2 comments
Closed

Upgrade Dexie.js #3365

MisRob opened this issue Apr 13, 2022 · 2 comments

Comments

@MisRob
Copy link
Member

MisRob commented Apr 13, 2022

We currently use Dexie.js v3.0.2 together with Dexie.Observable add-on v3.0.0-beta.9.

It'd be good to upgrade to Dexie.js v3.2.0 at least because a new reactivity system has been available since this release which now offers better integration with Vue components and is also said to have better performance:

NOTE: For a long time, we’ve had an add-on, Dexie.Observable.js that could be used to gain reactivity but to the cost of both complexity and performance. And it had nothing to do with Observables as in Ecmascript proposal for Observable or RxJS observables — and it has not entered a stable state yet, but hopefully, it will not be as useful anymore as we will have liveQuery built-in instead.

@MisRob
Copy link
Member Author

MisRob commented Apr 14, 2022

I'll try to upgrade to v3.2.0 when working on #3364 because it'd be handy for that work. It seems that v3.2.0 should allow us to use the new reactivity system with liveQuery whenever we need it while not breaking parts of the app built around the old Dexie.Observable. I'll also use #3364 as an opportunity to confirm that using liveQuery in some places in a way that's compatible with our current approach is really possible.

@MisRob
Copy link
Member Author

MisRob commented Jun 17, 2022

Closed by #3393

@MisRob MisRob closed this as completed Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant