Pinia state property getter not reactive to changes? #2306
Unanswered
Brunnn
asked this question in
Help and Questions
Replies: 1 comment
-
Put code, not screenshots and show all of the relevant code of the store: state/getters. Note you cannot have a state and a getter with the same name BTW |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the


this.$patch()
to perform a change in the state of the store, but it seems that this is not updating the store's properties direct getters, see below the code insided the vue component:Here i call an action that will update the state, see the action code:
Those are the logs in the devtools:

Is that the expected behavior?
Beta Was this translation helpful? Give feedback.
All reactions