Skip to Content
HydraAtomsFunctionsFunction: withStorageCache()

hydra


Function: withStorageCache()

withStorageCache<T>(params): Atom<T>

Defined in: enhancers/with-storage-cache.ts:84

Caches the value of a given atom in a storage backed counterpart.

Type Parameters

Type Parameter
T

Parameters

ParameterType
paramsParams<T>

Returns

Atom<T>

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right