Watching Repository Changes #722
Answered
by
AdvaSoftware
AdvaSoftware
asked this question in
Q&A
|
Hi! What's the proper practice for watching repository CRUD changes on components? I've tried setting a watch on a computed "mapRepos" member and it seems no trigger is occuring (verified the data does change in the store). What I current have is: Thank you! |
Answered by
AdvaSoftware
Dec 14, 2022
Replies: 3 comments
|
Thanks for the reply, I will post one later as soon as I can. In the meanwhile, can you please refer me to how to properly watch a repository change in a vue component? I probably missed it in the docs :( |
0 replies
|
Solved. I've used
instead of mapRepos. |
0 replies
Answer selected by
AdvaSoftware
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved.
I've used
computed: { XZY() { return store.state.value.XYZ }instead of mapRepos.