vue-storefront icon indicating copy to clipboard operation
vue-storefront copied to clipboard

[DX] Use 'unref' in getters

Open sync-by-unito[bot] opened this issue 4 years ago • 0 comments
trafficstars

Use unref on parameters passed to all getters (both in commercetools and boilerplate) to accept both the reactive properties and raw values.

This will prevent many issues and shorten getters defined in the setup function.

sync-by-unito[bot] avatar Jun 15 '21 16:06 sync-by-unito[bot]