-
Hello everyone, I'm currently moving my sapper project to use svelte-query, which does a really great job. It is so easy to integrate and use, I love it. I use My only lead for now would be to use a second query client that would not be persisted, but then I don't find any easy way to access it. Am I missing something obvious? Thank you for your help 😄! Antoine |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found an easy way. You can simply add a specific key to your Let's say Then, you use a custom That's it 👍 |
Beta Was this translation helpful? Give feedback.
I found an easy way.
You can simply add a specific key to your
queryKey
.Let's say
'no-persistency'
.Then, you use a custom
serialize
function in which you remove all queries that includes a'no-persistency'
key.That's it 👍