Skip to content

API Documentation / @pinia/colada / serializeQueryCache

Function: serializeQueryCache()

ts
function serializeQueryCache(queryCache): UseQueryEntryNodeSerialized[]

Serializes the query cache to a compressed array. Used during SSR.

Parameters

queryCache

Store

query cache

Returns

UseQueryEntryNodeSerialized[]

Released under the MIT License.