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

Feature request: accept QueryOptions for useLiveQuery hook #218

Open
Arrow7000 opened this issue Aug 16, 2024 · 1 comment
Open

Feature request: accept QueryOptions for useLiveQuery hook #218

Arrow7000 opened this issue Aug 16, 2024 · 1 comment

Comments

@Arrow7000
Copy link

I'd love to be able to pass query options when I use the useLiveQuery hook. I have a use case where I want to make a query that needs rowMode to be set to "array", but I can't do that with the hook. Is there a reason it doesn't currently accept QueryOptions?

If not I would be happy to submit a PR to add support for this.

@samwillis
Copy link
Collaborator

that would be a great addition. Would very happily take a PR to add those options to live.query and useLiveQuery, I think it's a little harder on incremental version due to how it's implemented.

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

2 participants