Repository navigation
Answered by
TkDodo
Dec 16, 2023
Replies: 1 comment 2 replies
not sure what you mean by that. Have you implemented a custom retry logic? Please show a minimal, runnable reproduction. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

queries that are in error state will not be persisted per default, because errors are not serializable. If you get a background refetch error, your query will be in the following state:
if we were to persist that, error would probably become
nullbecause it can't be serialized to JSON. Then, if you restore again, you state would be:However,
status:erroris defined as "A Query with an error", so you should be able to accesserror.message- but this will error at runtime in this scenario.So, long story short, per default, you can't. You can overwrite our default persistence b…