You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > sharedRef

sharedRef() function

Signature:

declare function sharedRef<T>(value: T, key: string): Ref;

Parameters

Parameter Type Description
value T
key string

Returns:

Ref