Skip to content
#

store

Here are 1,402 public repositories matching this topic...

pinia
Djaler
Djaler commented Nov 29, 2021

Reproduction

https://github.com/Djaler/pinia-vue-2-store-to-refs

Steps to reproduce the behavior

  1. npm install
  2. npm run dev
  3. Open in browser

Expected behavior

Two numbers displayed beside a button.

Actual behavior

Value, created using storeToRefs is undefined

Additional information

If we debug storeToRefs function, we'll see that `store['cou

good first issue contribution welcome external vue 2.x
Fulbert
Fulbert commented Mar 21, 2020

Hello,

Thanks for this awesome tool!

I have a guarded property on my store, selected, which is used only by the UI, and I don't want to sync on Firestore.
If the guards works well, the document is still synced everytime I change the selected value, because of the updated_at and updated_by value.
Of course, I can add the two properties to the guards too, and it works, but I actually

enhancement help wanted good first issue

Improve this page

Add a description, image, and links to the store topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the store topic, visit your repo's landing page and select "manage topics."

Learn more