svelte-query
reactive queries using stores?
#4841
Unanswered
denovodavid
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Coming from
@sveltestack/svelte-query
, there existed anupdateOptions
method on the returned query store, which allowed easy reactive queries outside of Svelte components, using stores, e.g.This cannot be done in
@tanstack/svelte-query
as the query store only has asubscribe
method. I can work around this, but it's really not friendly:Is there a better way to do this?
Or should some sort of
set
method be added to the query store?Beta Was this translation helpful? Give feedback.
All reactions