Watch store variable not triggered after calling setter? #1939
Unanswered
calicoder77
asked this question in
Help and Questions
Replies: 0 comments
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.
-
Good day, wondering if you folks ran into this issue. I have my store set up with a clicked boolean and I'm using a button to trigger the _ setClicked_ function. My watcher in Component1 is never triggered but doing a normal {{ myStore.clicked }} works on the page as I see it switching from FALSE to TRUE. Any tips would be greatly appreciated, thanks.
myStore.js
Component1.vue
Beta Was this translation helpful? Give feedback.
All reactions