storeToRefs
A Pinia function that turns a store's state and getters into refs that stay connected, so you can destructure them without losing reactivity.
A Pinia function that turns a store's state and getters into refs that stay connected, so you can destructure them without losing reactivity.