Skip to content
Discussion options

You must be logged in to vote

errors per se aren't serializable over the wire, that's we we don't dehydrate them. If you want that, you'd need to plug something like superjson into it:

https://tanstack.com/query/latest/docs/framework/react/reference/hydration#limitations

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Aaronkala
Comment options

@Aaronkala
Comment options

@TkDodo
Comment options

@Aaronkala
Comment options

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