In the getters, reactivity is lost #2112
Unanswered
vcharov
asked this question in
Help and Questions
Replies: 1 comment
-
There is no error in the code and reactivity works correctly. As it turns out, Vue.js devtools 6.5.0 in the pinia section cannot display reactive values of this kind |
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.
-
Reproduction
https://jsbin.com/dapunin/edit?js,output
Steps to reproduce the bug
Execute
this.computedDataResultsMap.delete(id)
, that is, change `store.fetchData.computedDataResultsMapExpected behavior
The getter
dataResults
must be reactiveActual behavior
The
dataResults
getter is not updated whenstore.fetchData.computedDataResultsMap
is changedIn the code it is
The getter
computedDataResultsMap
remains reactiveAdditional information
No response
Beta Was this translation helpful? Give feedback.
All reactions