cdruc

🔥 Destructuring Pinia stores

Reactivity is lost when destructuring directly from store.

Use storeToRefs() to maintain it.

Destructure actions separately.

1 year ago | [YT] | 49



@pranab091

I don't like this at all, this makes coding difficult. The API is really counterintuitive which requires these type of exceptions to keep in mind.

1 year ago (edited) | 0