API Documentation / @pinia/colada / hydrateQueryCache
Function: hydrateQueryCache()
ts
function hydrateQueryCache(queryCache, serializedCache): void
Hydrates the query cache with the serialized cache. Used during SSR.
Parameters
queryCache
Store
query cache
serializedCache
UseQueryEntryNodeSerialized
[]
serialized cache
Returns
void