Skip to content
Discussion options

You must be logged in to vote

Imagine: you have data for ['x',1] and ['x',2] and ['x'].
What result expect do you expect from client.getQueryData(["x"]);?

getQueriesData does accept a partial key as being part of a filter.
On the other hand, getQueryData looks up a specific cache entry (and if it does not exist, it is undefined).

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@sam-rad
Comment options

@TkDodo
Comment options

@sam-rad
Comment options

@TkDodo
Comment options

@sam-rad
Comment options

Answer selected by TkDodo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants