TanStack Query

dehydrate

Creates a transferable cache representation with configurable query and mutation filtering.

Formal Syntax & Structure

react syntaxreact
dehydrate(client,{shouldDehydrateMutation:()=>false})

Working Example

Example Snippetreact
dehydrate(client,{shouldDehydrateMutation:()=>false})
React Reference