Skip to content
@legacy

Documentation / @warp-drive/legacy / useLegacyStore

Function: useLegacyStore()

Call Signature

ts
function useLegacyStore(options, StoreKlass?): typeof Store;

Defined in: warp-drive-packages/legacy/src/index.ts:89

Use the legacy store with the given options.

Parameters

options

LegacyModelStoreSetupOptions

StoreKlass?

typeof Store

Returns

typeof Store

Call Signature

ts
function useLegacyStore(options, StoreKlass?): typeof Store;

Defined in: warp-drive-packages/legacy/src/index.ts:90

Use the legacy store with the given options.

Parameters

options

LegacyModelAndNetworkStoreSetupOptions

StoreKlass?

typeof Store

Returns

typeof Store

Call Signature

ts
function useLegacyStore(options, StoreKlass?): typeof Store;

Defined in: warp-drive-packages/legacy/src/index.ts:94

Use the legacy store with the given options.

Parameters

options

LegacyModelAndNetworkAndRequestStoreSetupOptions

StoreKlass?

typeof Store

Returns

typeof Store

Released under the MIT License.