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

Object destruction #2

Open
0x0dr1y opened this issue Jun 18, 2024 · 0 comments
Open

Object destruction #2

0x0dr1y opened this issue Jun 18, 2024 · 0 comments

Comments

@0x0dr1y
Copy link

0x0dr1y commented Jun 18, 2024

Hey, it seems like that object destruction is not supported for refs by vue.

Can you confirm that this example doesn't work?
const { todos, loaded } = useDexieLiveQuery( () => db.todos.toArray().then(todos => ({ todos, loaded: true })), { initialValue: { todos: [], loaded: false } } );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant