Skip to content

Documentation Improvement: Warning about Promise serialization issues in IndexedDB persistence #8745

Answered by TkDodo
NathanVG asked this question in Ideas

You must be logged in to vote

you overwrite the default behaviour, you need:

shouldDehydrateQuery: (query) => defaultShouldDehydrateQuery(query) && !!query.meta?.persist,

Replies: 1 comment 3 replies

You must be logged in to vote
3 replies
@NathanVG

@TkDodo

Answer selected by NathanVG
@NathanVG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants