Skip to content
Discussion options

You must be logged in to vote

RTKQ isn't a normalized cache, it caches by endpoint name and arguments provided. It has no knowledge that a part of your getPosts response is also the right response for getPost("foo").

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@thuc201995
Comment options

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