Skip to content

[svelte-query] Re-running query on value update #4793

Answered by oqx
oqx asked this question in Q&A
Discussion options

You must be logged in to vote

After poking at this awhile in codesandbox, declaring createQuery in a reactive declaration seems to be sufficient. Whatever issue I'm having locally isn't reproducible in codesandbox and svelte-query is working as intended.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@lachlancollins
Comment options

@vishalbalaji
Comment options

@oqx
Comment options

Answer selected by oqx
Comment options

You must be logged in to vote
2 replies
@nosnibor89
Comment options

@vi0cxq
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment