@legacy
Documentation / @warp-drive/legacy / useLegacyStore
Documentation / @warp-drive/legacy / useLegacyStore
Function: useLegacyStore()
Call Signature
ts
function useLegacyStore<T>(options, StoreKlass?): typeof ConfiguredStore;
Defined in: warp-drive-packages/legacy/src/index.ts:136
Use the legacy store with the given options.
Type Parameters
T
T
extends Cache
Parameters
options
LegacyModelStoreSetupOptions
<T
>
StoreKlass?
typeof Store
Returns
typeof ConfiguredStore
Call Signature
ts
function useLegacyStore<T>(options, StoreKlass?): typeof ConfiguredStore;
Defined in: warp-drive-packages/legacy/src/index.ts:140
Use the legacy store with the given options.
Type Parameters
T
T
extends Cache
Parameters
options
LegacyModelAndNetworkStoreSetupOptions
<T
>
StoreKlass?
typeof Store
Returns
typeof ConfiguredStore
Call Signature
ts
function useLegacyStore<T>(options, StoreKlass?): typeof ConfiguredStore;
Defined in: warp-drive-packages/legacy/src/index.ts:144
Use the legacy store with the given options.
Type Parameters
T
T
extends Cache
Parameters
options
LegacyModelAndNetworkAndRequestStoreSetupOptions
<T
>
StoreKlass?
typeof Store
Returns
typeof ConfiguredStore