Skip to content
Discussion options

You must be logged in to vote

My issue is, that when an error occurs, the cache for that query is cleared.

you mean when the query errors? error are not json serializable so you cannot write them to localstorage. You can use something like superjson to serialize / deserialize.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@debater-coder
Comment options

@TkDodo
Comment options

@debater-coder
Comment options

@debater-coder
Comment options

@TkDodo
Comment options

Answer selected by debater-coder
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