Skip to content
Discussion options

You must be logged in to vote

It should work the same as optimistic updates on a normal query, except that you have to keep the structure in mind. The cached data is an object with two keys (pages and pageParams), so you’d likely want to create a new page with the new entry.

Replies: 1 comment 2 replies

Comment options

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

@TkDodo
Comment options

Answer selected by aswinmohanme
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