Is there a way to getQueryData() with one key only? #2336
Unanswered
frederikhors
asked this question in
Q&A
Replies: 1 comment 9 replies
-
have a look at |
Beta Was this translation helpful? Give feedback.
9 replies
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.
-
I'm using the code from the docs: https://sveltequery.vercel.app/guides/placeholder-query-data#placeholder-data-from-cache:
My problem is I'm caching
blogPosts
along with pagination info, something like:Is there a way I can use
placeholderData
with.getQueryData("blogPosts")
key only (withoutpagination
)?Beta Was this translation helpful? Give feedback.
All reactions